diff --git a/tests/test_image.py b/tests/test_image.py index ba14a89..80393ab 100644 --- a/tests/test_image.py +++ b/tests/test_image.py @@ -728,7 +728,7 @@ def test_confluence_xml_secure_properties(docker_cli, image, version, secure_pro xml = parse_xml(container, f'{get_app_home(container)}/confluence.cfg.xml') secure_properties_elements = xml.findall('.//property[@name="secure.properties"]') - if secure_properties_flag_expected.lower() == 'true' + if secure_properties_flag_expected.lower() == 'true': assert secure_properties_elements[0].text == "true" - else + else: assert len(secure_properties_elements) == 0 \ No newline at end of file