mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-07 01:55:37 +00:00
keep dotpath as a relative path when importing
This commit is contained in:
@@ -33,7 +33,7 @@ class TestConfig(unittest.TestCase):
|
||||
dotpath=self.CONFIG_DOTPATH,
|
||||
backup=self.CONFIG_BACKUP,
|
||||
create=self.CONFIG_CREATE)
|
||||
conf = Cfg(confpath, self.CONFIG_DOTPATH)
|
||||
conf = Cfg(confpath)
|
||||
self.assertTrue(conf is not None)
|
||||
|
||||
opts = conf.get_configs()
|
||||
@@ -49,5 +49,6 @@ class TestConfig(unittest.TestCase):
|
||||
def main():
|
||||
unittest.main()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user