summaryrefslogtreecommitdiffstats
path: root/engagements/tests/conftest.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-09-10 14:08:35 +0100
committerMatthew Lemon <y@yulqen.org>2024-09-10 14:08:35 +0100
commit15eceda8c762c3e3890f2c160d1c89c36a7b398b (patch)
treea7765189c59d81cdf1368b7989d2ed22c404cbc5 /engagements/tests/conftest.py
parentc4fd33fce3dbef280657c150a7658462c80da877 (diff)
ES basically done
Diffstat (limited to '')
-rw-r--r--engagements/tests/conftest.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/engagements/tests/conftest.py b/engagements/tests/conftest.py
index b74feb5..7ccb9ad 100644
--- a/engagements/tests/conftest.py
+++ b/engagements/tests/conftest.py
@@ -19,13 +19,14 @@ def org():
@pytest.fixture
-def engagement_strategy(regulatory_cycles, org):
+def engagement_strategy(regulatory_cycles, org, user):
es = EngagementStrategy.objects.create(
- name="ES1",
description="ES1 description",
start_year=RegulatoryCycle.objects.get(start_date="2022-01-01"),
end_year=RegulatoryCycle.objects.get(start_date="2024-01-01"),
organisation=org,
+ owned_by=user,
+ reviewed_by=user,
management_sign_off="2022-02-10",
inspector_sign_off="2022-01-10",
status="DRAFT",