Skip to content

Commit 068581b

Browse files
committed
tweak test_easystack_basic to get better error reporting if it fails
1 parent ff3d33f commit 068581b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/framework/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5633,7 +5633,7 @@ def test_easystack_basic(self):
56335633
]
56345634
for pattern in patterns:
56355635
regex = re.compile(pattern)
5636-
self.assertTrue(regex.match(stdout) is not None)
5636+
self.assertTrue(regex.match(stdout), "Pattern '%s' should be found in: %s" % (regex.pattern, stdout))
56375637

56385638
def test_easystack_wrong_structure(self):
56395639
"""Test for --easystack <easystack.yaml> when yaml easystack has wrong structure"""

0 commit comments

Comments
 (0)