tests: python-foo assure foo[0] is on a list not dict_values object

Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
Christian Hopps 2023-05-19 09:43:06 -04:00
parent 5773954be9
commit 898499a50f

View File

@ -988,7 +988,7 @@ def checkAddressSanitizerError(output, router, component, logdir=""):
)
if addressSanitizerLog:
# Find Calling Test. Could be multiple steps back
testframe = sys._current_frames().values()[0]
testframe = list(sys._current_frames().values())[0]
level = 0
while level < 10:
test = os.path.splitext(