mirror of
https://github.com/davegallant/rfd.git
synced 2025-08-06 08:43:41 +00:00
More pytests (#7)
* add constants.py * more tests and robustness. * try/catch JSONDecodedError.
This commit is contained in:
8
tests/conftest.py
Normal file
8
tests/conftest.py
Normal file
@@ -0,0 +1,8 @@
|
||||
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)
|
Reference in New Issue
Block a user