From fc157276c39a1e46c95f07e11dbe0014374d1a15 Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Mon, 4 Jan 2016 07:28:11 -0500 Subject: Test both nested and non-nested repo directories --- conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conftest.py') 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') -- cgit v1.2.3