1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-07 15:39:16 +00:00

be verbose by default on compare and install

This commit is contained in:
deadc0de6
2017-09-08 13:29:36 +02:00
parent b9e932c623
commit efaf268067
4 changed files with 30 additions and 14 deletions

View File

@@ -33,10 +33,10 @@ class TestCompare(unittest.TestCase):
dry=opts['dry'], base=opts['dotpath'], quiet=True)
results = {}
for dotfile in dotfiles:
diffval = inst.compare(t, tmp, opts['profile'],
same, _ = inst.compare(t, tmp, opts['profile'],
dotfile.src, dotfile.dst)
path = os.path.expanduser(dotfile.dst)
results[path] = diffval
results[path] = same
return results
def edit_content(self, path, newcontent, binary=False):

View File

@@ -124,6 +124,7 @@ exec bspwm
# install them
conf, opts = load_config(confpath, profile)
opts['safe'] = False
opts['quiet'] = True
install(opts, conf)
# now compare the generated files