diff options
author | Jon Bernard <jbernard@tuxion.com> | 2016-01-03 15:01:40 -0500 |
---|---|---|
committer | Jon Bernard <jbernard@tuxion.com> | 2016-01-03 22:39:43 -0500 |
commit | 5c3c91c43e12b40a618ad471ba24950d5b6d1ea0 (patch) | |
tree | e738fdd7e322f86cc609b630f2e19e4eff7f71e6 /tests/test_sync.py | |
parent | 48e781a75c8b5d20c1e9c54c92dd31e641dfd121 (diff) | |
download | dotfiles-5c3c91c43e12b40a618ad471ba24950d5b6d1ea0.tar.gz dotfiles-5c3c91c43e12b40a618ad471ba24950d5b6d1ea0.tar.bz2 dotfiles-5c3c91c43e12b40a618ad471ba24950d5b6d1ea0.zip |
Consolidate tests into a single file
Diffstat (limited to 'tests/test_sync.py')
-rw-r--r-- | tests/test_sync.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/test_sync.py b/tests/test_sync.py deleted file mode 100644 index e8a51cc..0000000 --- a/tests/test_sync.py +++ /dev/null @@ -1,19 +0,0 @@ -from dotfiles.core import Dotfiles - - -def test_sync(tmpdir): - """Basic sync operation.""" - - dotfile = tmpdir.ensure('Dotfiles/foo') - symlink = tmpdir.join('.foo') - - Dotfiles(homedir=str(tmpdir), - path=str(dotfile.dirname), - prefix='', - ignore=[], - externals={}, - packages=[], - dry_run=False).sync() - - assert symlink.check(link=1) - assert symlink.samefile(dotfile) |