From 54a931c78345617014229792d9e9ac6ca6ae4f71 Mon Sep 17 00:00:00 2001 From: hanhxiao Date: Fri, 2 Aug 2019 11:13:03 +0800 Subject: [PATCH] fix(test): fix test images by removing mac stuff --- tests/test_stream_grpc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_stream_grpc.py b/tests/test_stream_grpc.py index 1278534c..ad80ae1d 100644 --- a/tests/test_stream_grpc.py +++ b/tests/test_stream_grpc.py @@ -38,7 +38,7 @@ def setUp(self): self.all_bytes = [b'abc', b'def', b'cde'] * 10 self.all_bytes2 = [b'abc', b'def', b'cde'] - @unittest.mock.patch.dict(os.environ, {'http_proxy': '', 'https_proxy': ''}) + # @unittest.mock.patch.dict(os.environ, {'http_proxy': '', 'https_proxy': ''}) def test_grpc_frontend(self): args = set_grpc_frontend_parser().parse_args([ '--grpc_host', '127.0.0.1', @@ -61,7 +61,7 @@ def test_grpc_frontend(self): self.assertEqual(resp.request_id, str(len(self.all_bytes))) # idx start with 0, but +1 for final FLUSH - @unittest.mock.patch.dict(os.environ, {'http_proxy': '', 'https_proxy': ''}) + # @unittest.mock.patch.dict(os.environ, {'http_proxy': '', 'https_proxy': ''}) def test_async_block(self): args = set_grpc_frontend_parser().parse_args([ '--grpc_host', '127.0.0.1',