From 9c48b33fe36b066e79443d9ebf29f1cf79ca1f21 Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Wed, 20 Jan 2016 11:21:11 -0500 Subject: Small cleanup in conftest --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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') -- cgit v1.2.3