aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_basic.py
diff options
context:
space:
mode:
authorGravatar Jon Bernard <jbernard@tuxion.com> 2015-12-28 14:28:49 -0500
committerGravatar Jon Bernard <jbernard@tuxion.com> 2015-12-28 14:28:49 -0500
commit5e25760d14bc6719810d9129c3226514e545f042 (patch)
treef6bf8f9209d82136ab9e475d061314ae13a15c10 /tests/test_basic.py
parentd5c33543395ad07e9581a3505c36478152f7225b (diff)
downloaddotfiles-5e25760d14bc6719810d9129c3226514e545f042.tar.gz
dotfiles-5e25760d14bc6719810d9129c3226514e545f042.tar.bz2
dotfiles-5e25760d14bc6719810d9129c3226514e545f042.zip
Create new location for sync tests
I'm going to migrate away from unittest capability in favor of pytest and its use of the py.path filesystem abstraction. It's much cleaner and easier to work with.
Diffstat (limited to 'tests/test_basic.py')
-rw-r--r--tests/test_basic.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/test_basic.py b/tests/test_basic.py
index 58e35ed..20019bb 100644
--- a/tests/test_basic.py
+++ b/tests/test_basic.py
@@ -37,25 +37,6 @@ class DotfilesTestCase(unittest.TestCase):
os.path.realpath(path1),
os.path.realpath(path2))
- def test_sync(self):
- """Basic sync operation."""
-
- touch(os.path.join(self.repository, 'foo'))
-
- dotfiles = Dotfiles(homedir=self.homedir,
- path=self.repository,
- prefix='',
- ignore=[],
- externals={},
- packages=[],
- dry_run=False)
-
- dotfiles.sync()
-
- self.assertPathEqual(
- os.path.join(self.homedir, '.foo'),
- os.path.join(self.repository, 'foo'))
-
def test_force_sync_directory(self):
"""Test forced sync when the dotfile is a directory.