Add extra assertion to test_textclipping

This commit is contained in:
dgelessus 2019-12-30 03:04:48 +01:00
parent ecee2616cf
commit a7a407a1dd

View File

@ -55,6 +55,7 @@ class ResourceFileReadTests(unittest.TestCase):
for (actual_id, actual_res), (expected_id, expected_data) in zip(actual_reses.items(), expected_reses.items()): for (actual_id, actual_res), (expected_id, expected_data) in zip(actual_reses.items(), expected_reses.items()):
with self.subTest(id=expected_id): with self.subTest(id=expected_id):
self.assertEqual(actual_res.type, expected_type) self.assertEqual(actual_res.type, expected_type)
self.assertEqual(actual_id, expected_id)
self.assertEqual(actual_res.id, expected_id) self.assertEqual(actual_res.id, expected_id)
self.assertEqual(actual_res.name, None) self.assertEqual(actual_res.name, None)
for attr in rsrcfork.ResourceAttrs: for attr in rsrcfork.ResourceAttrs: