mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-17 18:29:54 +00:00
another test
This commit is contained in:
parent
ec98924b45
commit
544ad5bb59
@ -481,3 +481,10 @@ class TestUtil(unittest.TestCase):
|
|||||||
remove_prefix(b"foobar", b"foobar"),
|
remove_prefix(b"foobar", b"foobar"),
|
||||||
b"",
|
b"",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
def test_remove_prefix_partial(self):
|
||||||
|
"""
|
||||||
|
remote a prefix with a partial match
|
||||||
|
"""
|
||||||
|
with self.assertRaises(BadPrefixError):
|
||||||
|
remove_prefix(b"foobar", b"fooz"),
|
||||||
|
Loading…
Reference in New Issue
Block a user