diff options
Diffstat (limited to 'app-admin/salt/files/salt-3006.3-tests.patch')
-rw-r--r-- | app-admin/salt/files/salt-3006.3-tests.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/app-admin/salt/files/salt-3006.3-tests.patch b/app-admin/salt/files/salt-3006.3-tests.patch deleted file mode 100644 index 4d30608775cb..000000000000 --- a/app-admin/salt/files/salt-3006.3-tests.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/tests/pytests/unit/utils/event/test_event.py b/tests/pytests/unit/utils/event/test_event.py -index e289e72dad..2abd4066c4 100644 ---- a/tests/pytests/unit/utils/event/test_event.py -+++ b/tests/pytests/unit/utils/event/test_event.py -@@ -300,7 +300,7 @@ def test_connect_pull_should_debug_log_on_StreamClosedError(): - event = SaltEvent(node=None) - with patch.object(event, "pusher") as mock_pusher: - with patch.object( -- salt.utils.event.log, "debug", auto_spec=True -+ salt.utils.event.log, "debug", auto_spec=True, unsafe=True - ) as mock_log_debug: - mock_pusher.connect.side_effect = ( - salt.ext.tornado.iostream.StreamClosedError -@@ -317,10 +317,10 @@ def test_connect_pull_should_error_log_on_other_errors(error): - event = SaltEvent(node=None) - with patch.object(event, "pusher") as mock_pusher: - with patch.object( -- salt.utils.event.log, "debug", auto_spec=True -+ salt.utils.event.log, "debug", auto_spec=True, unsafe=True - ) as mock_log_debug: - with patch.object( -- salt.utils.event.log, "error", auto_spec=True -+ salt.utils.event.log, "error", auto_spec=True, unsafe=True - ) as mock_log_error: - mock_pusher.connect.side_effect = error - event.connect_pull() |