diff options
author | Tim Graham <timograham@gmail.com> | 2016-04-07 22:04:45 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-04-08 10:12:33 -0400 |
commit | 92053acbb9160862c3e743a99ed8ccff8d4f8fd6 (patch) | |
tree | 50e7fd28a650f0e2352cf94f92e5a66d28a81988 /tests/logging_tests | |
parent | df8d8d4292684d6ffa7474f1e201aed486f02b53 (diff) | |
download | django-92053acbb9160862c3e743a99ed8ccff8d4f8fd6.tar.gz |
Fixed E128 flake8 warnings in tests/.
Diffstat (limited to 'tests/logging_tests')
-rw-r--r-- | tests/logging_tests/tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/logging_tests/tests.py b/tests/logging_tests/tests.py index eb90b54430..829a6c893a 100644 --- a/tests/logging_tests/tests.py +++ b/tests/logging_tests/tests.py @@ -223,7 +223,8 @@ class AdminEmailHandlerTest(SimpleTestCase): admin_email_handler.filters = [] rf = RequestFactory() request = rf.get('/') - self.logger.error(message, token1, token2, + self.logger.error( + message, token1, token2, extra={ 'status_code': 403, 'request': request, |