scrub_test: Fix swapped assert error messages

Signed-off-by: David Zafman <dzafman@redhat.com>
This commit is contained in:
David Zafman 2016-04-29 17:46:51 -07:00
parent 4d0c668e9e
commit b25392451e

View File

@ -248,9 +248,9 @@ class InconsistentObjChecker:
"multiple good attrs found"
good_attr = attr
assert bad_attr is not None, \
"good {attr} not found".format(attr=attr_name)
assert good_attr is not None, \
"bad {attr} not found".format(attr=attr_name)
assert good_attr is not None, \
"good {attr} not found".format(attr=attr_name)
assert good_attr != bad_attr, \
"bad attr is identical to the good ones: " \
"{0} == {1}".format(good_attr, bad_attr)