From b84274a8911a8ceea05e739c5b9db567053e9477 Mon Sep 17 00:00:00 2001 From: int3l Date: Wed, 16 Sep 2020 23:35:27 +0300 Subject: [PATCH] Fix the fatal error test case --- tests/error_handler_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/error_handler_test.py b/tests/error_handler_test.py index 5f57ae3a..4f67cb0f 100644 --- a/tests/error_handler_test.py +++ b/tests/error_handler_test.py @@ -98,7 +98,7 @@ def test_error_handler_keyboardinterrupt(mocked_log_and_exit): def test_log_and_exit(cap_out, mock_store_dir): with pytest.raises(SystemExit): error_handler._log_and_exit( - 'msg', error_handler.FatalError('hai'), "I'm a stacktrace", + 'msg', 1, error_handler.FatalError('hai'), "I'm a stacktrace", ) printed = cap_out.get()