mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-08 22:29:18 +00:00
fixing inexistant ~/.config
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user