1
0
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:
deadc0de6
2017-04-18 12:32:58 +02:00
parent 2c052f8b97
commit d25ad19ec2
8 changed files with 43 additions and 24 deletions

View File

@@ -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()