1
0
mirror of https://github.com/ihabunek/toot synced 2024-12-25 16:32:30 +01:00
Toot-Mastodon-CLI-TUI-clien.../tests/utils.py
2017-04-15 14:46:22 +02:00

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