File fix-salt-api-test.patch of Package salt
From a9e35aa5cb666547c243b7b5993d6b6cdc2b3abf Mon Sep 17 00:00:00 2001
From: Marek Czernek <marek.czernek@suse.com>
Date: Fri, 12 Sep 2025 12:41:55 +0200
Subject: [PATCH] Fix salt-api test
---
tests/pytests/functional/cli/test_api.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/pytests/functional/cli/test_api.py b/tests/pytests/functional/cli/test_api.py
index fd62650fd4..e6539cd8cf 100644
--- a/tests/pytests/functional/cli/test_api.py
+++ b/tests/pytests/functional/cli/test_api.py
@@ -17,7 +17,7 @@ def test_start_shutdown(monkeypatch, tmp_path):
# testing environment will fail if we use default pidfile
# overwrite sys.argv so salt-api does not use testing args
monkeypatch.setattr(
- "sys.argv", [sys.argv[0], "--pid-file", pid_file, "--log-file", log_file]
+ "sys.argv", [sys.argv[0], "--pid-file", pid_file, "--log-file", log_file, "-d"]
)
try:
api.start()
--
2.51.0