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

update tests and improve

This commit is contained in:
deadc0de6
2018-09-25 08:51:56 +02:00
parent 8d60e0ca5c
commit 3819511e72
5 changed files with 36 additions and 24 deletions

View File

@@ -199,8 +199,7 @@ class TestImport(unittest.TestCase):
# fake test update
editcontent = 'edited'
with open(dotfile1, 'w') as f:
f.write('edited')
edit_content(dotfile1, editcontent)
opts['safe'] = False
update(opts, conf, [dotfile1])
c2 = open(indt1, 'r').read()