aboutsummaryrefslogtreecommitdiffstats
path: root/test_dotfiles.py
diff options
context:
space:
mode:
authorGravatar Jon Bernard <jbernard@tuxion.com> 2013-11-07 11:44:28 -0500
committerGravatar Jon Bernard <jbernard@tuxion.com> 2013-11-07 11:44:28 -0500
commit02552b3c684f8fc1859af7660f345ff0c038e4f4 (patch)
tree392b60df85c07472ae2b70a644c133b642e21117 /test_dotfiles.py
parent5fb2e3d781a36f48ccb98daa6f960045375e572e (diff)
downloaddotfiles-02552b3c684f8fc1859af7660f345ff0c038e4f4.tar.gz
dotfiles-02552b3c684f8fc1859af7660f345ff0c038e4f4.tar.bz2
dotfiles-02552b3c684f8fc1859af7660f345ff0c038e4f4.zip
Fix unit tests to exit with the correct return code
Diffstat (limited to 'test_dotfiles.py')
-rwxr-xr-xtest_dotfiles.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/test_dotfiles.py b/test_dotfiles.py
index babe43c..b5521d2 100755
--- a/test_dotfiles.py
+++ b/test_dotfiles.py
@@ -301,9 +301,5 @@ class DotfilesTestCase(unittest.TestCase):
os.path.join(self.homedir, dotfile)))
-def suite():
- suite = unittest.TestLoader().loadTestsFromTestCase(DotfilesTestCase)
- return suite
-
if __name__ == '__main__':
- unittest.TextTestRunner().run(suite())
+ unittest.main()