aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/tests/test_cli_dispatch.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-node/tests/test_cli_dispatch.py')
-rw-r--r--packages/meshbay-node/tests/test_cli_dispatch.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/meshbay-node/tests/test_cli_dispatch.py b/packages/meshbay-node/tests/test_cli_dispatch.py
index c774dc0..76eb6d5 100644
--- a/packages/meshbay-node/tests/test_cli_dispatch.py
+++ b/packages/meshbay-node/tests/test_cli_dispatch.py
@@ -140,6 +140,8 @@ def test_the_verb_list_here_matches_the_parser():
assert "ui" not in declared, "the `ui` verb came back"
+@pytest.mark.skipif(sys.platform == "win32",
+ reason="systemd lifecycle; Windows path (schtasks) is W3, not built")
@pytest.mark.parametrize("argv,verb", [
(["reload"], "reload"),
(["restart-daemon"], "restart"),
@@ -167,6 +169,8 @@ def test_lifecycle_commands_delegate_to_systemctl_user(
assert not capsys.readouterr().err
+@pytest.mark.skipif(sys.platform == "win32",
+ reason="systemd lifecycle; Windows path (schtasks) is W3, not built")
@pytest.mark.parametrize("argv", [["reload"], ["restart-daemon"]])
def test_lifecycle_commands_report_systemctl_failure(
argv, stub_daemon, monkeypatch, capsys):