From 25ec3dbe75f3cf29aaf6f7fe656dc50be3f3d265 Mon Sep 17 00:00:00 2001 From: "jai.s" Date: Fri, 9 Oct 2020 14:36:38 +0530 Subject: [PATCH] Solved typo issues --- src/tests/test_process.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/tests/test_process.py b/src/tests/test_process.py index f817296b..334502d9 100755 --- a/src/tests/test_process.py +++ b/src/tests/test_process.py @@ -65,14 +65,16 @@ class TestProcessProto(unittest.TestCase): print('55555555555555555') except: pass - # import traceback - # traceback.print_stack() logger.error('_stop_process') logger.error('this condition are getting killed are not') logger.error('__stop__process') except psutil.TimeoutExpired: logger.error('#####_stop_process method condition--##') - logger.error('self.process -{}'.format(self.process)) + try: + logger.error('cls.process PID -{}'.format(cls.process.pid)) + except: + logger.error('cls.process -{}'.format(cls.process)) + logger.error('#####_stop_process method condition--##') return False return True