diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-06-01 10:54:19 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-06-01 10:54:19 +0100 |
commit | fb986e6697f8ffaa34a419bd1b91bdc0fb05a129 (patch) | |
tree | 85e7ea40a90264c42bad2b201ebde54482c79883 /ctrack/organisations/tests/test_views.py | |
parent | 70ebd6f51689ab29bdc48fc53edba52d461f39c4 (diff) |
moved some fixtures into conftest
Diffstat (limited to 'ctrack/organisations/tests/test_views.py')
-rw-r--r-- | ctrack/organisations/tests/test_views.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ctrack/organisations/tests/test_views.py b/ctrack/organisations/tests/test_views.py index 3b8f938..85ccc5a 100644 --- a/ctrack/organisations/tests/test_views.py +++ b/ctrack/organisations/tests/test_views.py @@ -67,12 +67,8 @@ def test_incident_report_create_view(stakeholder_user): def test_only_member_of_cct_user_group_can_view_a_single_person( - stakeholder_user, org_with_people, client + stakeholder_user, org_with_people, client, role, submode ): - role = RoleFactory.create() - submode = Submode.objects.create( - descriptor="Light Rail", mode=Mode.objects.create(descriptor="Rail") - ) PersonFactory.create( role=role, predecessor=None, |