summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest_dotfiles.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test_dotfiles.py b/test_dotfiles.py
index 7d2605e..678d9e4 100755
--- a/test_dotfiles.py
+++ b/test_dotfiles.py
@@ -330,6 +330,10 @@ class DotfilesTestCase(unittest.TestCase):
# remove the broken symlink
dotfiles.remove(['.testdotfile'])
+ # verify symlink was removed
+ self.assertFalse(os.path.exists(
+ os.path.join(self.homedir, '.testdotfile')))
+
if __name__ == '__main__':
unittest.main()