Private
Public Access
1
0

mocking request to weather API

This commit is contained in:
Sander Roosendaal
2020-02-08 09:03:34 +01:00
parent 3c7a89f822
commit 6bdf9216f2
11 changed files with 238 additions and 12743 deletions

View File

@@ -610,6 +610,7 @@ def mocked_requests(*args, **kwargs):
def __init__(self, json_data, status_code):
self.json_data = json_data
self.status_code = status_code
self.ok = True
def json(self):
return self.json_data