Skip to content

Commit

Permalink
Merge pull request #6115 from janekmi/test-start_time-fix
Browse files Browse the repository at this point in the history
test: start_time to be defined before clean() and setup()
  • Loading branch information
janekmi authored Oct 3, 2024
2 parents 61e3228 + 6b4a6b4 commit 193a8a3
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 # assign in case clean() or setup() fail

try:
# pre-execution cleanup
Expand Down

0 comments on commit 193a8a3

Please sign in to comment.