diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-31 17:31:43 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-31 17:31:43 +0100 |
commit | 41f81ff7952630d68eeadde458b480740030e557 (patch) | |
tree | 6c5da1e093b06e95d9482d8a58d55bd04f3d38a6 /ctrack/users/tests | |
parent | cc897d624d091c679ef304df9ff35f1093ae1ac0 (diff) |
quick added condition to test
Diffstat (limited to 'ctrack/users/tests')
-rw-r--r-- | ctrack/users/tests/test_credentials.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctrack/users/tests/test_credentials.py b/ctrack/users/tests/test_credentials.py index 759d8cb..5284518 100644 --- a/ctrack/users/tests/test_credentials.py +++ b/ctrack/users/tests/test_credentials.py @@ -34,7 +34,9 @@ def test_there_is_a_cct_user_group(db): # adding fixture here def test_user_fixture_has_access_to_all_ctrack_models(db, cct_user_group): view_org_perm = Permission.objects.get(codename="view_organisation") + add_org_perm = Permission.objects.get(codename="add_organisation") assert view_org_perm in cct_user_group.permissions.all() + assert add_org_perm in cct_user_group.permissions.all() # def test_should_create_user(user_A: get_user_model()) -> None: |