add host test

This commit is contained in:
Suby Raman 2017-03-03 13:32:32 -05:00
parent 69bd63b742
commit f0e818a28c

View File

@ -221,7 +221,7 @@ def test_url_attributes_no_ssl(path, query, expected_url):
assert parsed.scheme == request.scheme
assert parsed.path == request.path
assert parsed.query == request.query_string
assert parsed.scheme == request.scheme
assert parsed.netloc == request.host
@pytest.mark.parametrize(
@ -254,3 +254,4 @@ def test_url_attributes_with_ssl(path, query, expected_url):
assert parsed.scheme == request.scheme
assert parsed.path == request.path
assert parsed.query == request.query_string
assert parsed.netloc == request.host