Debian Codegraph @

tests/legacy/responses/base.py

raw
1 """Fixtures."""
2 import pytest
3
4
5 @pytest.fixture()
6 def base_response():
7 return {"key": "value"}
8
9
10 @pytest.fixture()
11 def bad_auth_response():
12 return {"message": "Bad credentials"}
13
14
15 @pytest.fixture()
16 def bad_response():
17 return {"message": "I'm a tea pot", "code": 418}