diff options
Diffstat (limited to '')
-rw-r--r-- | test/test_proxy.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test_proxy.py b/test/test_proxy.py index b7c34390..2d305e98 100644 --- a/test/test_proxy.py +++ b/test/test_proxy.py @@ -172,7 +172,9 @@ Content-Length: 10 assert resp['status'] == 200, 'status' assert resp['body'] == payload, 'body' - self.conf({'http': {'max_body_size': 32 * 1024 * 1024}}, 'settings') + assert 'success' in self.conf( + {'http': {'max_body_size': 32 * 1024 * 1024}}, 'settings' + ) payload = '0123456789abcdef' * 32 * 64 * 1024 resp = self.post_http10(body=payload, read_buffer_size=1024 * 1024) @@ -486,7 +488,7 @@ Content-Length: 10 r'accept.*failed', r'new connections are not accepted', ) - self.conf( + assert 'success' in self.conf( { "listeners": { "*:7080": {"pass": "routes"}, |