diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-01-21 16:37:09 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-01-21 16:37:09 +0000 |
commit | 1aade17fe69e52973fd43c4090dbdfaf50009c89 (patch) | |
tree | 3efa176ff0ebd7d94b203a29b9a4e1bc401665ac /ctrack/organisations/tests/test_models.py | |
parent | 0bfe3454fde753425d37246b73b3eda1b9a756b9 (diff) |
passing test - added address type model
Diffstat (limited to '')
-rw-r--r-- | ctrack/organisations/tests/test_models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctrack/organisations/tests/test_models.py b/ctrack/organisations/tests/test_models.py index b178508..460d3d7 100644 --- a/ctrack/organisations/tests/test_models.py +++ b/ctrack/organisations/tests/test_models.py @@ -14,3 +14,4 @@ def test_organisation_get_absolute_url(org: Organisation): def test_create_organisation(addr: Address): Organisation(name="Big Bad OES Corporation", address=addr).save() assert Organisation.objects.get(name="Big Bad OES Corporation") + assert Organisation.objects.get(name="Big Bad OES Corporation").address.type.descriptor == "Primary Address" |