aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conftest.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/conftest.py b/conftest.py
index a996e54..ee7feb1 100644
--- a/conftest.py
+++ b/conftest.py
@@ -2,16 +2,16 @@ import pytest
from click.testing import CliRunner
-@pytest.fixture(scope='function')
+@pytest.fixture(scope='function', params=[''])
def home(request, tmpdir):
- return tmpdir.ensure('home', dir=1)
+ return tmpdir.join(request.param)
@pytest.fixture(scope='function')
-def repo(request, tmpdir):
+def repo(tmpdir):
return tmpdir.ensure('repo', dir=1)
@pytest.fixture(scope='function')
-def runner(request):
+def runner():
return CliRunner()