wio
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
import json
|
||||
import os
|
||||
from dataclasses import dataclass
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
# https://docs.pytest.org/en/7.1.x/reference/reference.html#pytest.hookspec.pytest_configure
|
||||
def pytest_configure():
|
||||
os.environ['TZ'] = 'America/Sao_Paulo'
|
||||
os.environ['MEILISEARCH_HOST'] = 'http://127.0.0.1:7700'
|
||||
|
||||
|
||||
def load_jsonfile(path: str) -> dict:
|
||||
with open(path) as fp:
|
||||
return json.load(fp)
|
||||
|
||||
Reference in New Issue
Block a user