aboutsummaryrefslogtreecommitdiff
path: root/pyfakefs/pytest_tests/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyfakefs/pytest_tests/conftest.py')
-rw-r--r--pyfakefs/pytest_tests/conftest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyfakefs/pytest_tests/conftest.py b/pyfakefs/pytest_tests/conftest.py
index b6918c7..d23dad2 100644
--- a/pyfakefs/pytest_tests/conftest.py
+++ b/pyfakefs/pytest_tests/conftest.py
@@ -20,14 +20,14 @@ import pytest
from pyfakefs.fake_filesystem_unittest import Patcher
# import the fs fixture to be visible if pyfakefs is not installed
-from pyfakefs.pytest_plugin import fs # noqa: F401
+from pyfakefs.pytest_plugin import fs, fs_module # noqa: F401
from pyfakefs.pytest_tests import example # noqa: E402
@pytest.fixture
def fs_reload_example():
- """ Fake filesystem. """
+ """Fake filesystem."""
patcher = Patcher(modules_to_reload=[example])
patcher.setUp()
yield patcher.fs