Skip to content
Permalink
Browse files

fix(test): fix test images by removing mac stuff

  • Loading branch information...
hanxiao committed Aug 2, 2019
1 parent 5f1ba18 commit 54a931c78345617014229792d9e9ac6ca6ae4f71
Showing with 2 additions and 2 deletions.
  1. +2 −2 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',

0 comments on commit 54a931c

Please sign in to comment.
You can’t perform that action at this time.