Files
rfd/tests/conftest.py
Dave Gallant e63413f05a More pytests (#7)
* add constants.py

* more tests and robustness.

* try/catch JSONDecodedError.
2018-06-03 00:00:50 -04:00

9 lines
181 B
Python

import json
import pytest
@pytest.fixture
def threads_api_response():
with open("tests/mock_data/threads_api_response.json") as json_file:
return json.load(json_file)