mirror of
https://github.com/django/django.git
synced 2025-01-19 06:43:15 +00:00
Fixed flake8 warning.
This commit is contained in:
parent
3e241313a4
commit
f76222e1d3
@ -76,6 +76,7 @@ class HttpUtilTests(TestCase):
|
||||
host is not in ALLOWED_HOSTS. Issue #20472
|
||||
"""
|
||||
request = HttpRequest()
|
||||
|
||||
def bomb():
|
||||
self.assertTrue(False)
|
||||
request.get_host = bomb
|
||||
|
Loading…
x
Reference in New Issue
Block a user