summaryrefslogtreecommitdiff
path: root/tests/unit/misc/test_crashsignal.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/misc/test_crashsignal.py')
-rw-r--r--tests/unit/misc/test_crashsignal.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/misc/test_crashsignal.py b/tests/unit/misc/test_crashsignal.py
index e4570420e..7019118e5 100644
--- a/tests/unit/misc/test_crashsignal.py
+++ b/tests/unit/misc/test_crashsignal.py
@@ -80,12 +80,14 @@ def test_interrupt_repeatedly(signal_handler):
expected(test_signal, None)
+@pytest.mark.posix
def test_reload_config_call_on_hup(signal_handler, read_config_mock):
signal_handler._handlers[signal.SIGHUP](None, None)
read_config_mock.assert_called_once_with("config.py-unittest")
+@pytest.mark.posix
def test_reload_config_displays_errors(signal_handler, read_config_mock, mocker):
read_config_mock.side_effect = configexc.ConfigFileErrors(
"config.py",