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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user