Test start / stop. And check if the mocked function is really called

This commit is contained in:
Julien Duponchelle
2015-01-21 17:11:21 +01:00
parent 87a089457f
commit ce9fd3cb25
4 changed files with 15 additions and 10 deletions

View File

@ -42,7 +42,7 @@ class Query:
self._port = port
self._host = host
def post(self, path, body, **kwargs):
def post(self, path, body={}, **kwargs):
return self._fetch("POST", path, body, **kwargs)
def get(self, path, **kwargs):