From cab4b3c2c83673eb58de27599aab9ccc1ed147d7 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Fri, 26 Jul 2024 16:27:14 -0400 Subject: [PATCH] test: Fix expectation for --nodaemon --- tests/test_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_main.py b/tests/test_main.py index 4602e200..e368ec0d 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -30,7 +30,7 @@ def test_help(capsys, monkeypatch): assert exc.value.code == 0 assert captured.out.startswith("Usage: scrapyd [options]\n") - assert "--nodaemon" not in captured.out + assert "--nodaemon" in captured.out assert "python" not in captured.out assert "rundir" not in captured.out assert "ftp" not in captured.out