mirror of
https://github.com/ihabunek/toot.git
synced 2024-06-30 06:35:24 +00:00
11 lines
207 B
Python
11 lines
207 B
Python
|
|
class MockResponse:
|
|
def __init__(self, response_data={}):
|
|
self.response_data = response_data
|
|
|
|
def raise_for_status(self):
|
|
pass
|
|
|
|
def json(self):
|
|
return self.response_data
|