aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jon Bernard <jbernard@tuxion.com> 2016-01-04 07:28:11 -0500
committerGravatar Jon Bernard <jbernard@tuxion.com> 2016-01-04 07:34:44 -0500
commitfc157276c39a1e46c95f07e11dbe0014374d1a15 (patch)
tree4427bca7da54d34a047b1bf4b61856e876210e6b
parent05260b20f4a9d1f02c651211eb344d93529b735c (diff)
downloaddotfiles-fc157276c39a1e46c95f07e11dbe0014374d1a15.tar.gz
dotfiles-fc157276c39a1e46c95f07e11dbe0014374d1a15.tar.bz2
dotfiles-fc157276c39a1e46c95f07e11dbe0014374d1a15.zip
Test both nested and non-nested repo directories
-rw-r--r--conftest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/conftest.py b/conftest.py
index ee7feb1..f28429c 100644
--- a/conftest.py
+++ b/conftest.py
@@ -2,9 +2,9 @@ import pytest
from click.testing import CliRunner
-@pytest.fixture(scope='function', params=[''])
+@pytest.fixture(scope='function', params=['', 'home'])
def home(request, tmpdir):
- return tmpdir.join(request.param)
+ return tmpdir.ensure(request.param, dir=1)
@pytest.fixture(scope='function')