aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_package.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_package.py')
-rw-r--r--tests/test_package.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/test_package.py b/tests/test_package.py
deleted file mode 100644
index ddc5787..0000000
--- a/tests/test_package.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from dotfiles.core import Dotfiles
-
-
-def test_package_sync(tmpdir):
- """Test syncing a package."""
-
- repository = tmpdir.ensure('Dotfiles', dir=1)
- dotfile = repository.ensure('config/awesome/testfile')
-
- Dotfiles(homedir=str(tmpdir),
- path=str(repository),
- prefix='',
- ignore=[],
- externals={},
- packages=['config'],
- dry_run=False,
- quiet=True).sync()
-
- assert tmpdir.join('.config').check(dir=1)
- assert tmpdir.join('.config/awesome').check(link=1)
- assert tmpdir.join('.config/awesome').samefile(dotfile.dirname)