diff options
author | Jon Bernard <jbernard@jbernard.io> | 2019-01-20 11:18:56 -0500 |
---|---|---|
committer | Jon Bernard <jbernard@jbernard.io> | 2019-03-05 10:16:06 -0500 |
commit | a0fb28975309f2ea4c355e1bdb013152be97042b (patch) | |
tree | 9d8d4d1121c4eba8eba1074c1d8c36f15132daee /tests/conftest.py | |
parent | 174f42ea32529d25a7790ae956e891c6ac15a99a (diff) | |
download | dotfiles-a0fb28975309f2ea4c355e1bdb013152be97042b.tar.gz dotfiles-a0fb28975309f2ea4c355e1bdb013152be97042b.tar.bz2 dotfiles-a0fb28975309f2ea4c355e1bdb013152be97042b.zip |
Finish migration from py.path to pathlib
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 f5beb21..41f8995 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -6,8 +6,8 @@ from dotfiles.repository import Repository @pytest.fixture(scope='function', params=['', 'home']) def repo(request, tmpdir): - path = tmpdir.ensure_dir('repo') - home = tmpdir.ensure_dir(request.param) + path = str(tmpdir.ensure_dir('repo')) + home = str(tmpdir.ensure_dir(request.param)) return Repository(path, home) |