Skip to content

Commit

Permalink
stratis_cli_cert: Add test for integrity tag spec
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan Gurney <[email protected]>
  • Loading branch information
bgurney-rh committed Jan 7, 2025
1 parent 6ff945e commit 01b3376
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions stratis_cli_cert.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,26 @@ def test_pool_create_integrity_journal_size(self):
True,
)

@skip(_skip_condition(1))
def test_pool_create_integrity_tag_spec(self):
"""
Test creating a pool with an integrity tag specification.
"""
pool_name = p_n()
self._unittest_command(
[
_STRATIS_CLI,
"pool",
"create",
pool_name,
"--tag-spec=32b",
StratisCliCertify.DISKS[0],
],
0,
True,
True,
)

@skip(_skip_condition(1))
def test_pool_list_not_empty(self):
"""
Expand Down

0 comments on commit 01b3376

Please sign in to comment.