Show objects on assertion failure

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

View file

@ -143,7 +143,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):