1
0
mirror of https://github.com/ihabunek/toot synced 2024-12-23 07:27:12 +01:00
Toot-Mastodon-CLI-TUI-clien.../tests/utils.py

11 lines
207 B
Python
Raw Normal View History

2017-04-15 14:46:22 +02:00
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