From e98648419f854b2912cddab0b3894c835618b38b Mon Sep 17 00:00:00 2001 From: Jun jeong Date: Tue, 27 Aug 2024 14:25:59 +1000 Subject: [PATCH] DCCLIP-1068: fix syntax error --- tests/test_image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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