mirror of
https://github.com/dgelessus/python-rsrcfork.git
synced 2024-11-25 19:31:44 +00:00
Add some missing asserts to test_compress_compare
This commit is contained in:
parent
c41b25fea1
commit
5b2700bf17
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user