Skip to content

Commit

Permalink
Remove stratis-cli support in test_harness.py
Browse files Browse the repository at this point in the history
Since it has never been used succesfully it has become irretrievably
crufty.

Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Feb 26, 2024
1 parent 1a8e1b1 commit b9a8f64
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions test_harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,22 +106,6 @@ def _run_stratisd_cert(namespace, unittest_args):
_run_command(3, command)


def _run_stratis_cli_cert(namespace, unittest_args):
command = (
["python3", "stratis_cli_cert.py"]
+ (["--monitor-dbus"] if namespace.monitor_dbus else [])
+ (["--verify-devices"] if namespace.verify_devices else [])
+ (
[]
if namespace.highest_revision_number is None
else [f"--highest-revision-number={namespace.highest_revision_number}"]
)
+ ["-v"]
+ unittest_args
)
_run_command(3, command)


def _gen_parser():
"""
Generate the parser.
Expand Down Expand Up @@ -169,11 +153,6 @@ def _gen_parser():
"--verify-sysfs", help="Verify /sys/class/block files", action="store_true"
)

stratis_cli_cert_parser = subparsers.add_parser(
"stratis_cli_cert", help="Run stratis_cli_cert.py"
)
stratis_cli_cert_parser.set_defaults(func=_run_stratis_cli_cert)

return parser


Expand Down

0 comments on commit b9a8f64

Please sign in to comment.