More verbose python testing output

This commit is contained in:
Matthias Kuhn 2017-08-09 22:39:48 +02:00
parent 03e0298f49
commit abf768141b

View File

@ -173,7 +173,7 @@ class TestCase(_TestCase):
self,
attr_expected,
attr_result,
'Features {}/{} differ in attributes\n\n * Field1: {} ({})\n * Field2: {} ({})\n\n * {} != {}'.format(
'Features {}/{} differ in attributes\n\n * Field expected: {} ({})\n * result : {} ({})\n\n * Expected: {} != Result : {}'.format(
feats[0].id(),
feats[1].id(),
field_expected.name(),