mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-30 09:48:56 +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"),
|
||||
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