We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef5f8fd commit 4c6cffdCopy full SHA for 4c6cffd
tests/conftest.py
@@ -4,7 +4,7 @@
4
import sys
5
from contextlib import contextmanager
6
from typing import Callable
7
-
+from pytask import storage
8
import pytest
9
from click.testing import CliRunner
10
@@ -86,6 +86,7 @@ def _restore_sys_path_and_module_after_test_execution():
86
class CustomCliRunner(CliRunner):
87
def invoke(self, *args, **kwargs):
88
"""Restore sys.path and sys.modules after an invocation."""
89
+ storage.create()
90
with restore_sys_path_and_module_after_test_execution():
91
return super().invoke(*args, **kwargs)
92
0 commit comments