Created
January 4, 2021 21:23
-
-
Save klement97/1ed6ba60ae03de174647c6ad473cbb28 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MockResponse: | |
# mock json() method always returns a specific testing dictionary | |
@staticmethod | |
def json(): | |
return {"mock_key": "mock_response"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment