aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/users/tests/test_functional.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/users/tests/test_functional.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ctrack/users/tests/test_functional.py b/ctrack/users/tests/test_functional.py
index d5390f6..1edb17e 100644
--- a/ctrack/users/tests/test_functional.py
+++ b/ctrack/users/tests/test_functional.py
@@ -10,7 +10,6 @@ import time
import pytest
-from ctrack.organisations.models import Stakeholder
from ctrack.users.models import User
pytestmark = pytest.mark.django_db
@@ -39,9 +38,10 @@ def test_regular_user_can_log_in(browser, person, live_server):
]
-def test_stakeholder_can_log_in_and_see_their_home(browser, person, live_server):
+def test_stakeholder_can_log_in_and_see_their_home(
+ browser, person, live_server, stakeholder
+):
# Toss McBride is an OES user. He logs into the system...
- stakeholder = Stakeholder.objects.create(person=person)
user = User.objects.create_user(username="toss", password="knob")
user.stakeholder = stakeholder