Skip to content

Commit 2476e8c

Browse files
committed
Fix order issue in multi-bucket key restrictions test
1 parent 922de46 commit 2476e8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/integration/test_b2_command_line.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,8 @@ def test_multi_bucket_key_restrictions(b2_tool, bucket_factory):
815815
['bucket', 'get', bucket_b.name],
816816
)
817817

818-
failed_bucket_err = rf"ERROR: Application key is restricted to buckets: \['{bucket_a.name}', '{bucket_b.name}'\]"
818+
failed_bucket_err = rf"ERROR: Application key is restricted to buckets: \[('{bucket_a.name}', '{bucket_b.name}'|'{bucket_b.name}', '{bucket_a.name}')\]"
819+
819820
b2_tool.should_fail(['bucket', 'get', bucket_c.name], failed_bucket_err)
820821

821822
b2_tool.should_succeed(['key', 'delete', mb_key_id])

0 commit comments

Comments
 (0)