summaryrefslogtreecommitdiff
path: root/tests/check_framework/test_security.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2017-12-28 21:07:29 +0100
committerGitHub <noreply@github.com>2017-12-28 21:07:29 +0100
commit83a36ac49a98d5d8801ed8428612e9a56aeb8699 (patch)
tree192e9bb3f114dad49ffacb17d51a8ecc9faed797 /tests/check_framework/test_security.py
parent058d112ed2635873d415661bdf0fcc8752ec37c9 (diff)
Removed unnecessary trailing commas and spaces in various code.
Diffstat (limited to 'tests/check_framework/test_security.py')
-rw-r--r--tests/check_framework/test_security.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check_framework/test_security.py b/tests/check_framework/test_security.py
index 370fca533b..cfc90f95e9 100644
--- a/tests/check_framework/test_security.py
+++ b/tests/check_framework/test_security.py
@@ -518,6 +518,6 @@ class CheckAllowedHostsTest(SimpleTestCase):
def test_allowed_hosts_empty(self):
self.assertEqual(self.func(None), [base.W020])
- @override_settings(ALLOWED_HOSTS=['.example.com', ])
+ @override_settings(ALLOWED_HOSTS=['.example.com'])
def test_allowed_hosts_set(self):
self.assertEqual(self.func(None), [])