From 0c1c42a83df0f856b78a2760218d4dbcfe5a539b Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Wed, 15 Mar 2017 21:20:14 +0100 Subject: [PATCH] pep8 fix --- tests/test_import.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/test_import.py b/tests/test_import.py index a2fbfa7..efe8819 100644 --- a/tests/test_import.py +++ b/tests/test_import.py @@ -96,7 +96,8 @@ class TestImport(unittest.TestCase): sub2, _ = create_random_file(dotfile5) # import the dotfiles - importer(opts, conf, [dotfile1, dotfile2, dotfile3, dotfile4, dotfile5]) + dfiles = [dotfile1, dotfile2, dotfile3, dotfile4, dotfile5] + importer(opts, conf, dfiles) # reload the config conf, opts = load_config(confpath, self.CONFIG_DOTPATH, profile) @@ -123,8 +124,10 @@ class TestImport(unittest.TestCase): self.assertTrue(os.path.exists(os.path.join(dotfilespath, dotfile3))) self.assertTrue(os.path.exists(os.path.join(dotfilespath, dotfile4))) self.assertTrue(os.path.exists(os.path.join(dotfilespath, dotfile5))) - self.assertTrue(os.path.exists(os.path.join(dotfilespath, dotfile5, sub1))) - self.assertTrue(os.path.exists(os.path.join(dotfilespath, dotfile5, sub2))) + self.assertTrue(os.path.exists(os.path.join(dotfilespath, + dotfile5, sub1))) + self.assertTrue(os.path.exists(os.path.join(dotfilespath, + dotfile5, sub2))) def main():