fix bug in test_server

pull/232/head
peng.xu 2019-10-21 15:45:25 +08:00
parent e47f3ec28a
commit 7b0a731e04
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ class TestServer:
Parser.parse_proto_TableName = mock.MagicMock( Parser.parse_proto_TableName = mock.MagicMock(
return_value=(OK, table_name)) return_value=(OK, table_name))
ServiceHandler._has_table = mock.MagicMock(return_value=True) ServiceHandler._has_table = mock.MagicMock(return_value=(OK, True))
has = self.client.has_table(table_name=table_name) has = self.client.has_table(table_name=table_name)
assert has assert has