| |
@@ -0,0 +1,22 @@
|
| |
+ diff --git a/tests/conftest.py b/tests/conftest.py
|
| |
+ index 9248693..dfff83c 100644
|
| |
+ --- a/tests/conftest.py
|
| |
+ +++ b/tests/conftest.py
|
| |
+ @@ -14,7 +14,7 @@ import pytest
|
| |
+
|
| |
+ from path import path
|
| |
+
|
| |
+ -__dir__ = path(os.path.dirname(os.path.abspath(__file__)))
|
| |
+ +_dir = path(os.path.dirname(os.path.abspath(__file__)))
|
| |
+
|
| |
+
|
| |
+ @pytest.fixture(scope="function")
|
| |
+ @@ -22,7 +22,7 @@ def temp(request, tmpdir):
|
| |
+ template_dir = 'root'
|
| |
+
|
| |
+ tmpdir = path(tmpdir)
|
| |
+ - (__dir__ / template_dir).copytree(tmpdir / template_dir)
|
| |
+ + (_dir / template_dir).copytree(tmpdir / template_dir)
|
| |
+ cwd = os.getcwd()
|
| |
+ temp = tmpdir / template_dir
|
| |
+ os.chdir(temp)
|
| |