Skip to content

Commit

Permalink
test: start_time to be defined before clean() and setup()
Browse files Browse the repository at this point in the history
Just in case any of these fails it has to be defined.

Signed-off-by: Jan Michalski <[email protected]>
  • Loading branch information
janekmi committed Sep 30, 2024
1 parent 42950e2 commit b0971b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/unittest/basetest.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ def _execute(self, c):
c (Context): test context
"""
self.ctx = c
start_time = None

try:
# pre-execution cleanup
Expand Down

0 comments on commit b0971b0

Please sign in to comment.