summaryrefslogtreecommitdiffstats
path: root/test_dotfiles.py
diff options
context:
space:
mode:
authorGravatar Alexandre Viau <alexandre@alexandreviau.net> 2014-05-29 10:51:23 -0400
committerGravatar Jon Bernard <jbernard@tuxion.com> 2014-05-29 11:04:22 -0400
commitf31cb8b1e85231c7a697d9005d6cdebb66f05f0f (patch)
tree936ca35954bb5cceab4103228056defb7cad582f /test_dotfiles.py
parentf9a46f13cf81b936e462fd389361e106683b315c (diff)
downloaddotfiles-f31cb8b1e85231c7a697d9005d6cdebb66f05f0f.tar.gz
dotfiles-f31cb8b1e85231c7a697d9005d6cdebb66f05f0f.tar.bz2
dotfiles-f31cb8b1e85231c7a697d9005d6cdebb66f05f0f.zip
Correct logic in package prefix test
In reference to #33.
Diffstat (limited to 'test_dotfiles.py')
-rwxr-xr-xtest_dotfiles.py4
1 files 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))