mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
highway to the danger_mode
This commit is contained in:
+1
-1
@@ -280,7 +280,7 @@ class RequestsTestSuite(unittest.TestCase):
|
||||
|
||||
|
||||
def test_default_status_raising(self):
|
||||
config = {'eager_mode': True}
|
||||
config = {'danger_mode': True}
|
||||
args = [httpbin('status', '404')]
|
||||
kwargs = dict(config=config)
|
||||
self.assertRaises(HTTPError, requests.get, *args, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user