diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-31 16:32:49 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-31 16:32:49 +0100 |
commit | 656ceb510d535d0592cda7cc92bbe0e43561ea0c (patch) | |
tree | 4040be410d5c8b758ad96cf6aefe0dd2586d9aa6 /ctrack/organisations/tests | |
parent | 5c8c748c50ac4f6603fccf03c5e8473c47638cf6 (diff) |
added sentinel user
Diffstat (limited to 'ctrack/organisations/tests')
-rw-r--r-- | ctrack/organisations/tests/test_models.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ctrack/organisations/tests/test_models.py b/ctrack/organisations/tests/test_models.py index 6f79cb4..c6314af 100644 --- a/ctrack/organisations/tests/test_models.py +++ b/ctrack/organisations/tests/test_models.py @@ -11,14 +11,6 @@ def test_organisation_get_absolute_url(org): assert org.get_absolute_url() == f"/organisations/{slug}/" -def test_delete_organisation(org_with_people): - orgs = Organisation.objects.all() - assert org_with_people in orgs - Organisation.delete(org_with_people) - # Assert that the record has been deleted - assert Organisation.objects.count() == 0 - - def test_update_organisation(org_with_people): # Change the name of the organisation org_with_people.name = "Tonkers Ltd" |