DCCLIP-1068: fix syntax error

This commit is contained in:
Jun jeong
2024-08-27 14:25:59 +10:00
parent 534db3de6d
commit e98648419f

View File

@ -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