Private
Public Access
1
0
This commit is contained in:
2025-06-20 19:38:54 +02:00
parent 258740e490
commit 2722955f13
4 changed files with 5 additions and 2 deletions

View File

@@ -137,6 +137,7 @@ def mocked_session(*args, **kwargs):
'Location':'MockLocation',
}
self.ok = True
self.text = 'Mocked response text'
def json(self):
return self.json_data
@@ -991,6 +992,7 @@ def mocked_requests(*args, **kwargs):
self.headers = {
'Location':'MockLocation',
}
self.text = 'Mocked response text'
def json(self):
return self.json_data
@@ -1574,6 +1576,7 @@ class MockResponse: # pragma: no cover
self.headers = {
'Location':'MockLocation',
}
self.text = 'Mocked response text'
def json(self):
return self.json_data