1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-06 03:48:04 +00:00

refactor resolve_path

This commit is contained in:
deadc0de6
2019-06-02 11:26:30 +02:00
parent 805f15f7a2
commit 27e6a0da58
4 changed files with 17 additions and 17 deletions

View File

@@ -46,7 +46,8 @@ class TestConfig(SubsetTestCase):
self.assertTrue(opts != {})
self.assertTrue(opts['backup'] == self.CONFIG_BACKUP)
self.assertTrue(opts['create'] == self.CONFIG_CREATE)
self.assertTrue(opts['dotpath'] == self.CONFIG_DOTPATH)
dpath = os.path.basename(opts['dotpath'])
self.assertTrue(dpath == self.CONFIG_DOTPATH)
self.assertTrue(conf.dump() != '')
def test_def_link(self):