1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-06 20:40:38 +00:00

disable debug in tests with env var

This commit is contained in:
deadc0de6
2019-03-13 09:00:43 +01:00
parent bf23f6b341
commit b19f115351
27 changed files with 43 additions and 35 deletions

View File

@@ -29,9 +29,9 @@ class TestCompare(unittest.TestCase):
def compare(self, o, tmp, nbdotfiles):
dotfiles = o.dotfiles
self.assertTrue(len(dotfiles) == nbdotfiles)
t = Templategen(base=o.dotpath, debug=True)
t = Templategen(base=o.dotpath, debug=o.debug)
inst = Installer(create=o.create, backup=o.backup,
dry=o.dry, base=o.dotpath, debug=True)
dry=o.dry, base=o.dotpath, debug=o.debug)
comp = Comparator()
results = {}
for dotfile in dotfiles: