1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-08 20:09:18 +00:00

add more tests for update

This commit is contained in:
deadc0de6
2018-07-20 23:35:57 +02:00
parent f309ff80f8
commit 1865c15725
2 changed files with 129 additions and 1 deletions

View File

@@ -202,7 +202,7 @@ class TestImport(unittest.TestCase):
with open(dotfile1, 'w') as f:
f.write('edited')
opts['safe'] = False
update(opts, conf, dotfile1)
update(opts, conf, [dotfile1])
c2 = open(indt1, 'r').read()
self.assertTrue(editcontent == c2)