Skip to content

Commit 6fb6702

Browse files
chore: assertion updated
1 parent e2c3f68 commit 6fb6702

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_splunk_addon.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,8 +551,8 @@ def empty_method():
551551
result.stdout.fnmatch_lines_random(
552552
constants.TA_REQUIREMENTS_PASSED + constants.TA_REQUIREMENTS_FAILED
553553
)
554-
result.assert_outcomes(passed=2*len(constants.TA_REQUIREMENTS_PASSED), failed=1)
555-
# 2*TA_REQUIREMENTS_PASSED as the successful data comes from 2 sources (log & xml)
554+
result.assert_outcomes(passed=2, failed=1)
555+
# passed=2 as the successful data comes from 2 sources (log & xml)
556556

557557
# make sure that that we get a non '0' exit code for the testsuite as it contains failure
558558
assert result.ret != 0

0 commit comments

Comments
 (0)