mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-09 03:44:23 +00:00
Another assertion.
This commit is contained in:
parent
2f693c47f9
commit
8d143af43e
@ -38,6 +38,8 @@ class Base62(unittest.TestCase):
|
||||
self.assertIsInstance(encoded, bytes)
|
||||
self.assertIsInstance(bs, bytes)
|
||||
self.assertIsInstance(decoded, bytes)
|
||||
# Encoded string only uses values from the base62 allowed characters:
|
||||
self.assertFalse(set(encoded) - set(base62.chars))
|
||||
|
||||
@given(input_bytes=st.binary(max_size=100))
|
||||
def test_roundtrip(self, input_bytes):
|
||||
|
Loading…
x
Reference in New Issue
Block a user