diff options
author | Jon Bernard <jbernard@tuxion.com> | 2016-01-20 11:21:11 -0500 |
---|---|---|
committer | Jon Bernard <jbernard@tuxion.com> | 2016-01-20 11:21:11 -0500 |
commit | 9c48b33fe36b066e79443d9ebf29f1cf79ca1f21 (patch) | |
tree | 7e8318b26b41c5364594c8d8408406defb53b977 /tests/conftest.py | |
parent | cba2937fc898ca82f0748bcd8fbac655e3edf68c (diff) | |
download | dotfiles-9c48b33fe36b066e79443d9ebf29f1cf79ca1f21.tar.gz dotfiles-9c48b33fe36b066e79443d9ebf29f1cf79ca1f21.tar.bz2 dotfiles-9c48b33fe36b066e79443d9ebf29f1cf79ca1f21.zip |
Small cleanup in conftest
Diffstat (limited to 'tests/conftest.py')
-rw-r--r-- | tests/conftest.py | 4 |
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') |