Show More
@@ -88,6 +88,10 b' class basemanifesttests(object):' | |||||
88 | with self.assertRaises(KeyError): |
|
88 | with self.assertRaises(KeyError): | |
89 | m[b'wat'] |
|
89 | m[b'wat'] | |
90 |
|
90 | |||
|
91 | def testManifestLongHashes(self): | |||
|
92 | m = self.parsemanifest(b'a\0' + b'f' * 64 + b'\n') | |||
|
93 | self.assertEqual(binascii.unhexlify(b'f' * 64), m[b'a']) | |||
|
94 | ||||
91 | def testSetItem(self): |
|
95 | def testSetItem(self): | |
92 | want = BIN_HASH_1 |
|
96 | want = BIN_HASH_1 | |
93 |
|
97 |
General Comments 0
You need to be logged in to leave comments.
Login now