Skip to content

Commit

Permalink
adapt unittest to new verbosity features
Browse files Browse the repository at this point in the history
  • Loading branch information
DominiqueDevinci committed Oct 25, 2019
1 parent 81aaf29 commit 729bcf5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ assert_exists 1 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profil
assert_exists 1 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result/result'
assert_exists 1 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result/result[text()="fail"]'
assert_exists 0 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result/fix'
assert_exists 0 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result/message'

# one message expected signalling no suitable fix found.
assert_exists 1 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result/message'

#
# Second, make sure that the fix is applied, when CPE is recognized as appplicable
Expand Down

0 comments on commit 729bcf5

Please sign in to comment.