We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65766de commit 4b031bfCopy full SHA for 4b031bf
tests/test_middleware.py
@@ -47,7 +47,7 @@ def test_wrong_default_hosts(self):
47
ROOT_HOSTCONF='tests.hosts.simple',
48
DEFAULT_HOST='www')
49
def test_request_urlconf_module(self):
50
- rf = RequestFactory(headers={"host": 'other.example.com'})
+ rf = RequestFactory(headers={'host': 'other.example.com'})
51
request = rf.get('/simple/')
52
middleware = HostsRequestMiddleware(get_response_empty)
53
middleware.process_request(request)
0 commit comments