diff options
Diffstat (limited to 'tests/test_errors.py')
-rw-r--r-- | tests/test_errors.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_errors.py b/tests/test_errors.py index 7329507..5c13d04 100644 --- a/tests/test_errors.py +++ b/tests/test_errors.py | |||
@@ -11,6 +11,7 @@ def test_nonstandard_errors(api): | |||
11 | response.json = MagicMock(return_value= | 11 | response.json = MagicMock(return_value= |
12 | "I am a non-standard instance and this error is a plain string.") | 12 | "I am a non-standard instance and this error is a plain string.") |
13 | response.ok = False | 13 | response.ok = False |
14 | response.status_code = 501 | ||
14 | session = MagicMock() | 15 | session = MagicMock() |
15 | session.request = MagicMock(return_value=response) | 16 | session.request = MagicMock(return_value=response) |
16 | 17 | ||