aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jon Bernard <jbernard@tuxion.com> 2016-01-20 11:21:11 -0500
committerGravatar Jon Bernard <jbernard@tuxion.com> 2016-01-20 11:21:11 -0500
commit9c48b33fe36b066e79443d9ebf29f1cf79ca1f21 (patch)
tree7e8318b26b41c5364594c8d8408406defb53b977
parentcba2937fc898ca82f0748bcd8fbac655e3edf68c (diff)
downloaddotfiles-9c48b33fe36b066e79443d9ebf29f1cf79ca1f21.tar.gz
dotfiles-9c48b33fe36b066e79443d9ebf29f1cf79ca1f21.tar.bz2
dotfiles-9c48b33fe36b066e79443d9ebf29f1cf79ca1f21.zip
Small cleanup in conftest
-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')