aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_trapd_exit.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_trapd_exit.py')
-rw-r--r--tests/test_trapd_exit.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/test_trapd_exit.py b/tests/test_trapd_exit.py
index 93e8f9a..35b7111 100644
--- a/tests/test_trapd_exit.py
+++ b/tests/test_trapd_exit.py
@@ -39,9 +39,6 @@ class test_cleanup_and_exit(unittest.TestCase):
assert pytest_wrapped_sys_exit.type == SystemExit
assert pytest_wrapped_sys_exit.value.code == 0
- # compare = str(result).startswith("SystemExit: 0")
- # self.assertEqual(compare, True)
-
def test_abnormal_exit(self):
"""
Test exit with missing PID file exits non-zero
@@ -50,6 +47,3 @@ class test_cleanup_and_exit(unittest.TestCase):
result = trapd_exit.cleanup_and_exit(0,pid_file_dne)
assert pytest_wrapped_sys_exit.type == SystemExit
assert pytest_wrapped_sys_exit.value.code == 1
-
-#if __name__ == '__main__':
-# unittest.main()