Skip to content
Snippets Groups Projects
Commit f96fe6d3 authored by Radoslav Bodó's avatar Radoslav Bodó
Browse files

tests: add explicit error handling case for storage policy check

parent bd2f89eb
No related branches found
No related tags found
No related merge requests found
Pipeline #7678 passed
......@@ -112,6 +112,9 @@ def test_storage_check_policy(
radosuser_admin.s3.Bucket(bucket_name).Versioning().suspend()
assert not radosuser_test1.storage_check_policy(bucket_name)
# error handling
assert not radosuser_admin.storage_check_policy("!invalid_bucket_name")
def test_storage_backup_usage(
tmpworkdir: str,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment