From 5b2700bf17dbdced4a2a672e1f130ec121387055 Mon Sep 17 00:00:00 2001 From: dgelessus Date: Sun, 19 Jan 2020 23:24:52 +0100 Subject: [PATCH] Add some missing asserts to test_compress_compare --- tests/test_rsrcfork.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_rsrcfork.py b/tests/test_rsrcfork.py index 8883295..3d2eb79 100644 --- a/tests/test_rsrcfork.py +++ b/tests/test_rsrcfork.py @@ -149,6 +149,8 @@ class ResourceFileReadTests(unittest.TestCase): with self.subTest(id=compressed_id): # The metadata of the compressed and uncompressed resources must match. self.assertEqual(compressed_res.type, uncompressed_res.type) + self.assertEqual(compressed_id, uncompressed_id) + self.assertEqual(compressed_res.id, compressed_id) self.assertEqual(compressed_res.id, uncompressed_res.id) self.assertEqual(compressed_res.name, uncompressed_res.name) self.assertEqual(compressed_res.attributes & ~rsrcfork.ResourceAttrs.resCompressed, uncompressed_res.attributes)