aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Luper Rouch <luper.rouch@gmail.com> 2013-02-09 15:49:03 +0100
committerGravatar Luper Rouch <luper.rouch@gmail.com> 2013-02-09 15:49:03 +0100
commit9832e47a2d3071023ed828df24f44d5a3258626a (patch)
tree1e96bfcda9e3bbc81952534feb6111547365d6a8
parent68365ac62745d38dc0ab7a9a0eab90f9032a86a1 (diff)
downloaddotfiles-9832e47a2d3071023ed828df24f44d5a3258626a.tar.gz
dotfiles-9832e47a2d3071023ed828df24f44d5a3258626a.tar.bz2
dotfiles-9832e47a2d3071023ed828df24f44d5a3258626a.zip
fixed tests
-rwxr-xr-xtest_dotfiles.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/test_dotfiles.py b/test_dotfiles.py
index b892003..2bfdb8b 100755
--- a/test_dotfiles.py
+++ b/test_dotfiles.py
@@ -52,7 +52,8 @@ class DotfilesTestCase(unittest.TestCase):
dotfiles = core.Dotfiles(
homedir=self.homedir, repository=self.repository,
- prefix='', ignore=[], externals=externals)
+ prefix='', ignore=[], externals=externals, packages=[],
+ dry_run=False)
dotfiles.sync(force=True)
@@ -67,7 +68,8 @@ class DotfilesTestCase(unittest.TestCase):
dotfiles = core.Dotfiles(
homedir=self.homedir, repository=self.repository,
- prefix='', ignore=[], force=True, externals={})
+ prefix='', ignore=[], force=True, externals={}, packages=[],
+ dry_run=False)
dotfiles.sync()
@@ -111,7 +113,7 @@ class DotfilesTestCase(unittest.TestCase):
dotfiles = core.Dotfiles(
homedir=self.homedir, repository=self.repository,
- prefix='', ignore=[], externals={})
+ prefix='', ignore=[], externals={}, packages=[], dry_run=False)
dotfiles.sync(force=True)
@@ -161,7 +163,8 @@ class DotfilesTestCase(unittest.TestCase):
dotfiles = core.Dotfiles(
homedir=self.homedir, repository=self.repository,
- prefix='', ignore=ignore, externals={})
+ prefix='', ignore=ignore, externals={}, packages=[],
+ dry_run=False)
dotfiles.sync()
@@ -176,6 +179,8 @@ class DotfilesTestCase(unittest.TestCase):
self.assertPathEqual(
os.path.join(self.repository, original),
os.path.join(self.homedir, symlink))
+
+
def suite():
suite = unittest.TestLoader().loadTestsFromTestCase(DotfilesTestCase)