From 5c3c91c43e12b40a618ad471ba24950d5b6d1ea0 Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Sun, 3 Jan 2016 15:01:40 -0500 Subject: Consolidate tests into a single file --- tests/test_package.py | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 tests/test_package.py (limited to 'tests/test_package.py') 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) -- cgit v1.2.3