File diff e0b00ff2df58 → bf1f75a58072
roles/wsgi_website/molecule/default/tests/test_parameters_optional.py
Show inline comments
 
@@ -66,9 +66,14 @@ def test_environment_indicator(host):
 

	
 
    page = host.run('curl https://parameters-optional.local/')
 

	
 
    expected_content = """\
 
    <details open='true' style='position: fixed; left: 0; width: 100%; line-height: 1.5em; font-weight: bold; color: #00ff00;'>
 
        <summary style='background-color: #ff0000; list-style-type: none; position: fixed; bottom: 5px; z-index: 999999;'>&#128896;&#128898;</summary>
 
        <div style='background-color: #ff0000; width: 100%; text-align: center; position: fixed; bottom: 5px; z-index: 999998;'>parameters-optional</div>
 
    </details>"""
 

	
 
    assert page.rc == 0
 
    assert "<div id='website-environment' style='background-color: #ff0000; width: 100%; text-align: center; position: fixed; bottom: 5px; color: #00ff00; " \
 
        "font-weight: bold; z-index: 999999;'>parameters-optional</div></body>" in page.stdout
 
    assert expected_content in page.stdout
 

	
 

	
 
def test_nginx_rewrite_config(host):