diff --git a/src/_zkapauthorizer/tests/test_storage_protocol.py b/src/_zkapauthorizer/tests/test_storage_protocol.py index b0af8db4c775c794455299ca4e25b27cdb427152..89654633b6b9176ec98fb71492571b0467eb42b7 100644 --- a/src/_zkapauthorizer/tests/test_storage_protocol.py +++ b/src/_zkapauthorizer/tests/test_storage_protocol.py @@ -617,7 +617,7 @@ class ShareTests(TestCase): If a share file with an unexpected version is found, ``stat_shares`` declines to offer a result (by raising ``ValueError``). """ - assume(version != 1) + assume(version not in (1, 2)) sharedir = FilePath(self.anonymous_storage_server.sharedir).preauthChild( # storage_index_to_dir likes to return multiple segments