Show objects on assertion failure

This commit is contained in:
Pedro Algarvio 2019-01-22 16:24:44 +00:00
parent ee2f10a23b
commit 4d12ccbb1a
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -152,7 +152,7 @@ class TestSerializers(TestCase):
# BLAAM! yml_src is not valid !
final_obj = OrderedDict(yaml.deserialize(yml_src))
assert obj != final_obj
assert obj != final_obj, 'Objects matched! {} == {}'.format(obj, final_obj)
@skipIf(not yamlex.available, SKIP_MESSAGE % 'sls')
def test_sls_aggregate(self):