aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/users/tests/test_models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/users/tests/test_models.py')
-rw-r--r--ctrack/users/tests/test_models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctrack/users/tests/test_models.py b/ctrack/users/tests/test_models.py
index 504195f..402c41b 100644
--- a/ctrack/users/tests/test_models.py
+++ b/ctrack/users/tests/test_models.py
@@ -22,5 +22,8 @@ def test_stakeholder_model(person, user):
the system.
"""
stakeholder = Stakeholder(person=person)
+ org = person.organisation.name
user.stakeholder = stakeholder
assert user.stakeholder.person.first_name == "Chinaplate"
+ assert user.is_stakeholder() is True
+ assert user.get_organisation_name() == org