From 313750bef0318c2204ce869fb2bdc4d4043a20e6 Mon Sep 17 00:00:00 2001 From: Satoshi Fujii Date: Tue, 15 Jun 2021 13:33:50 +0000 Subject: Remove unused code Just remove unused code Signed-off-by: Satoshi Fujii Issue-ID: DCAEGEN2-2833 Change-Id: If81a5fcb918a2683e261807d6a3da5a8648e505d --- tests/test_trapd_exit.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tests/test_trapd_exit.py') 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() -- cgit 1.2.3-korg