parent
44451f22d5
commit
7d0ada5ff9
|
@ -136,7 +136,7 @@ def expect_value(self, got, expected, field):
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
type_expected, type_got,
|
type_expected, type_got,
|
||||||
'Type mismatch for list item at index %d for field %s, expected %r, got %r' % (
|
'Type mismatch for list item at index %d for field %s, expected %r, got %r' % (
|
||||||
index, field, type_expected, type_got))
|
index, field, type_expected, type_got))
|
||||||
expect_value(self, item_got, item_expected, field)
|
expect_value(self, item_got, item_expected, field)
|
||||||
else:
|
else:
|
||||||
if isinstance(expected, compat_str) and expected.startswith('md5:'):
|
if isinstance(expected, compat_str) and expected.startswith('md5:'):
|
||||||
|
|
Loading…
Reference in New Issue