We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97dc116 commit a78d2bbCopy full SHA for a78d2bb
tests/cli/test_repost_failed_calls.py
@@ -6,7 +6,6 @@
6
from unittest import mock
7
8
from murfey.cli import repost_failed_calls
9
-from tests.conftest import mock_security_config_name
10
11
12
@mock.patch("murfey.cli.repost_failed_calls.PikaTransport")
@@ -167,12 +166,11 @@ def test_run_repost_failed_calls(
167
166
mock_repost,
168
mock_purge,
169
mock_security_configuration,
170
- tmp_path,
171
):
172
mock_jwt.encode.return_value = "dummy_token"
173
mock_purge.return_value = ["/path/to/msg1"]
174
175
- config_file = tmp_path / mock_security_config_name
+ config_file = mock_security_configuration
176
with open(config_file) as f:
177
security_config = json.load(f)
178
0 commit comments