Commit d1ab48d4 authored by Ivan Tyagov's avatar Ivan Tyagov

Add test to make sure we check auto configuration status.

parent f401ca0e
...@@ -52,6 +52,13 @@ class TestSiteHttps(unittest.TestCase): ...@@ -52,6 +52,13 @@ class TestSiteHttps(unittest.TestCase):
result.content result.content
) )
def test_https_erp5_auto_configuration_is_successfull(self):
"""Check that auto configuration was successfull."""
result = requests.get(
self.https_url + '/erp5/ERP5Site_isReady',
verify=False, allow_redirects=False)
self.assertTrue(bool(result.content))
@unittest.skip( @unittest.skip(
'Currently HTTPS will reply with "Hostname 172.16.0.9 provided via SNI ' 'Currently HTTPS will reply with "Hostname 172.16.0.9 provided via SNI '
'and hostname anyhost provided via HTTP are different"') 'and hostname anyhost provided via HTTP are different"')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment