Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
fix(test): fix test images by removing mac stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhxiao committed Aug 2, 2019
1 parent 5f1ba18 commit 54a931c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_stream_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit 54a931c

Please sign in to comment.