mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-06 11:57:59 +00:00
refactoring
This commit is contained in:
@@ -124,9 +124,9 @@ def load_options(confpath, profile):
|
||||
o.dry = False
|
||||
o.profile = profile
|
||||
o.safe = True
|
||||
o.installdiff = True
|
||||
o.install_diff = True
|
||||
o.link = LinkTypes.NOLINK.value
|
||||
o.showdiff = True
|
||||
o.install_showdiff = True
|
||||
o.debug = True
|
||||
o.dopts = ''
|
||||
o.variables = {}
|
||||
|
||||
@@ -184,7 +184,7 @@ exec bspwm
|
||||
o = load_options(confpath, profile)
|
||||
o.safe = False
|
||||
o.debug = True
|
||||
o.showdiff = True
|
||||
o.install_showdiff = True
|
||||
o.variables = {}
|
||||
cmd_install(o)
|
||||
|
||||
|
||||
@@ -68,6 +68,7 @@ class TestUpdate(unittest.TestCase):
|
||||
create=self.CONFIG_CREATE)
|
||||
self.assertTrue(os.path.exists(confpath))
|
||||
o = load_options(confpath, profile)
|
||||
o.debug = True
|
||||
dfiles = [d1, dir1, d2]
|
||||
|
||||
# import the files
|
||||
|
||||
Reference in New Issue
Block a user