diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-20 15:01:20 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-20 15:01:20 +0100 |
commit | e4c95417112ffe8ba684b4f1d7bd957f87b2f2ed (patch) | |
tree | 9b61947660b28196dc7f33df42c82dc1c7ffd979 /ctrack/conftest.py | |
parent | 4ea13b2ed79e95d2cf710c8d2d6e95fb454e054a (diff) |
func to group lead inspectors by submode
Diffstat (limited to 'ctrack/conftest.py')
-rw-r--r-- | ctrack/conftest.py | 6 |
1 files changed, 3 insertions, 3 deletions
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") ) |