diff options
author | Simon Charette <charette.s@gmail.com> | 2018-11-24 06:28:28 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2018-11-27 09:48:22 -0500 |
commit | 7f63b894c02effb09c15ab0b40d28b89553b8e37 (patch) | |
tree | 03802b01266db92834562ae80cf73c97b0cb8f5a /tests/sites_tests | |
parent | 84e7a9f4a7bb3cad2bffae97baaae99de152c451 (diff) | |
download | django-7f63b894c02effb09c15ab0b40d28b89553b8e37.tar.gz |
Adjusted code style of a few test data setup methods.
Thanks Mariusz for suggesting it.
Diffstat (limited to 'tests/sites_tests')
-rw-r--r-- | tests/sites_tests/tests.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/sites_tests/tests.py b/tests/sites_tests/tests.py index 95b4373642..c5e20b4549 100644 --- a/tests/sites_tests/tests.py +++ b/tests/sites_tests/tests.py @@ -22,11 +22,7 @@ class SitesFrameworkTests(TestCase): @classmethod def setUpTestData(cls): - cls.site = Site( - id=settings.SITE_ID, - domain="example.com", - name="example.com", - ) + cls.site = Site(id=settings.SITE_ID, domain='example.com', name='example.com') cls.site.save() def tearDown(self): |