From b9a8f64f8012d7ba6d0baf009064213e8541280f Mon Sep 17 00:00:00 2001 From: mulhern Date: Mon, 26 Feb 2024 14:47:20 -0500 Subject: [PATCH] Remove stratis-cli support in test_harness.py Since it has never been used succesfully it has become irretrievably crufty. Signed-off-by: mulhern --- test_harness.py | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/test_harness.py b/test_harness.py index 7507d55..c19549d 100644 --- a/test_harness.py +++ b/test_harness.py @@ -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. @@ -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