Test Service instantiation as part of standard test-case

This commit is contained in:
boukeversteegh
2020-05-24 20:02:41 +02:00
parent 20150fdcf3
commit ec5683e572
4 changed files with 14 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ from grpclib.client import Channel
class MockChannel(Channel):
# noinspection PyMissingConstructor
def __init__(self, responses: List) -> None:
def __init__(self, responses: List = []) -> None:
self.responses = responses
self.requests = []