aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_dotfile.py
diff options
context:
space:
mode:
authorGravatar Jon Bernard <jbernard@jbernard.io> 2018-10-11 11:42:53 -0400
committerGravatar Jon Bernard <jbernard@jbernard.io> 2019-03-05 10:16:06 -0500
commit9665f21abfe23cae78ee9f437da9a46dba19f22e (patch)
treeaf004423bb3f3ad36800c9dfc62470d532d9308b /tests/test_dotfile.py
parentb3e7538dc223ce06e999c771a2ff6f1052370677 (diff)
downloaddotfiles-9665f21abfe23cae78ee9f437da9a46dba19f22e.tar.gz
dotfiles-9665f21abfe23cae78ee9f437da9a46dba19f22e.tar.bz2
dotfiles-9665f21abfe23cae78ee9f437da9a46dba19f22e.zip
Fix cli tests with pathlib
Diffstat (limited to 'tests/test_dotfile.py')
-rw-r--r--tests/test_dotfile.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_dotfile.py b/tests/test_dotfile.py
index 6f3eb4e..5672c53 100644
--- a/tests/test_dotfile.py
+++ b/tests/test_dotfile.py
@@ -1,9 +1,9 @@
import pytest
-import py.path
+from pathlib import Path
from dotfiles.dotfile import Dotfile
-from dotfiles.exceptions import \
- IsSymlink, NotASymlink, TargetExists, TargetMissing, Exists
+from dotfiles.exceptions import IsSymlink, NotASymlink, TargetExists, \
+ TargetMissing, Exists
def _make_dotfile(repo, name, target=None):