mirror of
https://github.com/ihabunek/toot.git
synced 2025-10-21 19:44:16 -04:00
Extract auth code to own file, add some tests
This commit is contained in:
@@ -10,3 +10,7 @@ class MockResponse:
|
||||
|
||||
def json(self):
|
||||
return self.response_data
|
||||
|
||||
|
||||
def retval(val):
|
||||
return lambda *args, **kwargs: val
|
||||
|
||||
Reference in New Issue
Block a user