From e4c95417112ffe8ba684b4f1d7bd957f87b2f2ed Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 20 Oct 2020 15:01:20 +0100 Subject: func to group lead inspectors by submode --- ctrack/conftest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ctrack/conftest.py') diff --git a/ctrack/conftest.py b/ctrack/conftest.py index 6ae06c2..3c310c8 100644 --- a/ctrack/conftest.py +++ b/ctrack/conftest.py @@ -35,16 +35,16 @@ def user() -> User: @pytest.fixture def inspector1() -> User: - return UserFactory() + return UserFactory(first_name="Cyril", last_name="Bloanssette_Ridgewell") @pytest.fixture def inspector2() -> User: - return UserFactory() + return UserFactory(first_name="Ogilvie", last_name="Cathroyd-Marylls") @pytest.fixture -def submode(inspector1, inspector2): +def submode(): return Submode.objects.create( descriptor="Light Rail", mode=Mode.objects.create(descriptor="Rail") ) -- cgit v1.2.3