0
0
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:
Ivan Habunek
2017-12-30 12:52:55 +01:00
parent 787e0d28b4
commit a50ffe62c3
4 changed files with 165 additions and 94 deletions

View File

@@ -10,3 +10,7 @@ class MockResponse:
def json(self):
return self.response_data
def retval(val):
return lambda *args, **kwargs: val