From f31cb8b1e85231c7a697d9005d6cdebb66f05f0f Mon Sep 17 00:00:00 2001 From: Alexandre Viau Date: Thu, 29 May 2014 10:51:23 -0400 Subject: Correct logic in package prefix test In reference to #33. --- test_dotfiles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_dotfiles.py b/test_dotfiles.py index 0e84435..5c48a82 100755 --- a/test_dotfiles.py +++ b/test_dotfiles.py @@ -377,10 +377,10 @@ class DotfilesTestCase(unittest.TestCase): dotfiles.sync() expected = os.path.join(self.homedir, ".config") - self.assertTrue(os.path.islink(expected)) + self.assertTrue(os.path.isdir(expected)) expected = os.path.join(expected, "awesome") - self.assertTrue(os.path.isdir(expected)) + self.assertTrue(os.path.islink(expected)) expected = os.path.join(expected, "testfile") self.assertTrue(os.path.isfile(expected)) -- cgit v1.2.3