Skip to content

Commit 4c6cffd

Browse files
committed
fix.
1 parent ef5f8fd commit 4c6cffd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/conftest.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import sys
55
from contextlib import contextmanager
66
from typing import Callable
7-
7+
from pytask import storage
88
import pytest
99
from click.testing import CliRunner
1010

@@ -86,6 +86,7 @@ def _restore_sys_path_and_module_after_test_execution():
8686
class CustomCliRunner(CliRunner):
8787
def invoke(self, *args, **kwargs):
8888
"""Restore sys.path and sys.modules after an invocation."""
89+
storage.create()
8990
with restore_sys_path_and_module_after_test_execution():
9091
return super().invoke(*args, **kwargs)
9192

0 commit comments

Comments
 (0)