aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/conftest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index f28429c..7d88ce5 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -4,12 +4,12 @@ from click.testing import CliRunner
@pytest.fixture(scope='function', params=['', 'home'])
def home(request, tmpdir):
- return tmpdir.ensure(request.param, dir=1)
+ return tmpdir.ensure_dir(request.param)
@pytest.fixture(scope='function')
def repo(tmpdir):
- return tmpdir.ensure('repo', dir=1)
+ return tmpdir.ensure_dir('repo')
@pytest.fixture(scope='function')