Skip to content

Commit

Permalink
modify UT
Browse files Browse the repository at this point in the history
  • Loading branch information
alakendu committed Oct 7, 2022
1 parent 338329d commit 510d61a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openapiart/tests/test_without_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def test_module():
assert api.__module__ == pytest.withoutgrpc_module
with pytest.raises(Exception) as execinfo:
importlib.import_module(pytest.withoutgrpc_module + "_pb2")
grpc_error = "No module named 'withoutgrpc_pb2'"
assert execinfo.value.args[0] == grpc_error
assert "No module named" in execinfo.value.args[0]
assert "withoutgrpc_pb2" in execinfo.value.args[0]


def test_http_client():
Expand Down

0 comments on commit 510d61a

Please sign in to comment.