| 1 |
"""Fixtures.""" |
| 2 |
# pylint: disable=missing-docstring |
| 3 |
import pytest |
| 4 |
|
| 5 |
|
| 6 |
@pytest.fixture() |
| 7 |
def rate_limit_response(): |
| 8 |
return { |
| 9 |
"resources": { |
| 10 |
"core": {"limit": 5000, "remaining": 4999, "reset": 1372700873}, |
| 11 |
"search": {"limit": 30, "remaining": 18, "reset": 1372697452}, |
| 12 |
"graphql": {"limit": 5000, "remaining": 4993, "reset": 1372700389}, |
| 13 |
"integration_manifest": { |
| 14 |
"limit": 5000, |
| 15 |
"remaining": 4999, |
| 16 |
"reset": 1551806725, |
| 17 |
}, |
| 18 |
}, |
| 19 |
"rate": {"limit": 5000, "remaining": 4999, "reset": 1372700873}, |
| 20 |
} |