mirror of
https://github.com/dgelessus/python-rsrcfork.git
synced 2024-11-29 17:49:49 +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):
|
with self.subTest(id=compressed_id):
|
||||||
# The metadata of the compressed and uncompressed resources must match.
|
# The metadata of the compressed and uncompressed resources must match.
|
||||||
self.assertEqual(compressed_res.type, uncompressed_res.type)
|
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.id, uncompressed_res.id)
|
||||||
self.assertEqual(compressed_res.name, uncompressed_res.name)
|
self.assertEqual(compressed_res.name, uncompressed_res.name)
|
||||||
self.assertEqual(compressed_res.attributes & ~rsrcfork.ResourceAttrs.resCompressed, uncompressed_res.attributes)
|
self.assertEqual(compressed_res.attributes & ~rsrcfork.ResourceAttrs.resCompressed, uncompressed_res.attributes)
|
||||||
|
Loading…
Reference in New Issue
Block a user