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.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/ctrack/users/tests/test_functional.py b/ctrack/users/tests/test_functional.py
new file mode 100644
index 0000000..6403d0b
--- /dev/null
+++ b/ctrack/users/tests/test_functional.py
@@ -0,0 +1,12 @@
+import pytest
+
+from ctrack.organisations.models import Stakeholder
+
+pytestmark = pytest.mark.django_db
+
+
+def test_profile_page_html(person, user, browser):
+ stakeholder = Stakeholder.objects.create(person=person)
+ user.stakeholder = stakeholder
+ user.save()
+ browser.get(f"http://localhost:8000/users/{user.username}")