Skip to content

Commit

Permalink
unittest test_remediate_unresolved now expect result 'error' instead …
Browse files Browse the repository at this point in the history
…of 'fail'
  • Loading branch information
DominiqueDevinci committed Oct 24, 2019
1 parent 136e8f1 commit 81aaf29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/API/XCCDF/unittests/test_remediate_unresolved.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ assert_exists 2 '//TestResult'
assert_exists 1 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]'
assert_exists 1 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result'
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 1 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result/result[text()="error"]'
assert_exists 1 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result/fix'
assert_exists 1 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result/fix/something'
assert_exists 0 '//TestResult[@id="xccdf_org.open-scap_testresult_default-profile001"]/rule-result/fix/object'
Expand Down

0 comments on commit 81aaf29

Please sign in to comment.