mirror of https://github.com/django/django.git
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…
Reference in New Issue