CI: better cleanup for modules in between tests
This commit is contained in:
parent
94ace823e0
commit
ddbb2e5f23
5 changed files with 41 additions and 12 deletions
|
@ -77,6 +77,9 @@ def D(dstr: str) -> datetime:
|
|||
# TODO copy pasted from location.py, need to extract some common provider
|
||||
@pytest.fixture(autouse=True)
|
||||
def prepare(tmp_path: Path):
|
||||
from .common import reset_modules
|
||||
reset_modules()
|
||||
|
||||
LTZ._FASTER = True
|
||||
|
||||
from .location import _prepare_google_config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue