From 6b4a6b4f2d174e197cda6fd91517b049fc3dc65d Mon Sep 17 00:00:00 2001 From: Jan Michalski Date: Thu, 26 Sep 2024 13:11:10 -0400 Subject: [PATCH] test: start_time to be defined before clean() and setup() Just in case any of these fails it has to be defined. Signed-off-by: Jan Michalski --- src/test/unittest/basetest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/unittest/basetest.py b/src/test/unittest/basetest.py index 560aa8bb8fa..063b61bac54 100644 --- a/src/test/unittest/basetest.py +++ b/src/test/unittest/basetest.py @@ -168,6 +168,7 @@ def _execute(self, c): c (Context): test context """ self.ctx = c + start_time = None # assign in case clean() or setup() fail try: # pre-execution cleanup