1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-08 19:34:17 +00:00

fixing inexistant ~/.config

This commit is contained in:
deadc0de6
2017-03-15 18:29:02 +01:00
parent 65db6e25fd
commit 6fa87e9737

View File

@@ -90,6 +90,7 @@ class TestImport(unittest.TestCase):
dotfile2, content2 = create_random_file(os.path.expanduser('~')) dotfile2, content2 = create_random_file(os.path.expanduser('~'))
self.addCleanup(clean, dotfile2) self.addCleanup(clean, dotfile2)
homeconf = os.path.join(os.path.expanduser('~'), '.config') homeconf = os.path.join(os.path.expanduser('~'), '.config')
os.mkdir(homeconf)
dotconfig = os.path.join(homeconf, get_string(5)) dotconfig = os.path.join(homeconf, get_string(5))
create_dir(dotconfig) create_dir(dotconfig)
self.addCleanup(clean, dotconfig) self.addCleanup(clean, dotconfig)