From 6d6b1cd9c405c54cc78dc2b7cbe217ba526a9829 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 20 Jan 2020 20:55:17 +0000 Subject: partial way through playing with Faker --- ctrack/organisations/tests/test_models.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ctrack/organisations') diff --git a/ctrack/organisations/tests/test_models.py b/ctrack/organisations/tests/test_models.py index f642c11..b178508 100644 --- a/ctrack/organisations/tests/test_models.py +++ b/ctrack/organisations/tests/test_models.py @@ -12,8 +12,5 @@ def test_organisation_get_absolute_url(org: Organisation): def test_create_organisation(addr: Address): - Organisation( - name="Big Bad OES Corporation", - address = addr - ).save() + Organisation(name="Big Bad OES Corporation", address=addr).save() assert Organisation.objects.get(name="Big Bad OES Corporation") -- cgit v1.2.3