From 86c74eacd60b578645d81c3d822011ae27286a6f Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 5 Jul 2014 20:20:19 -0400 Subject: [PATCH] Updated tests per previous commit. --- tests/requests/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/requests/tests.py b/tests/requests/tests.py index b778fe37184..1eea1be4391 100644 --- a/tests/requests/tests.py +++ b/tests/requests/tests.py @@ -653,8 +653,8 @@ class HostValidationTests(SimpleTestCase): def test_get_host_suggestion_of_allowed_host(self): """get_host() makes helpful suggestions if a valid-looking host is not in ALLOWED_HOSTS.""" msg_invalid_host = "Invalid HTTP_HOST header: %r." - msg_suggestion = msg_invalid_host + "You may need to add %r to ALLOWED_HOSTS." - msg_suggestion2 = msg_invalid_host + "The domain name provided is not valid according to RFC 1034/1035" + msg_suggestion = msg_invalid_host + " You may need to add %r to ALLOWED_HOSTS." + msg_suggestion2 = msg_invalid_host + " The domain name provided is not valid according to RFC 1034/1035" for host in [ # Valid-looking hosts 'example.com',