summaryrefslogtreecommitdiffstats
path: root/tests/topotests/lib/topotest.py
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-05-19 15:43:06 +0200
committerChristian Hopps <chopps@labn.net>2023-05-28 11:13:22 +0200
commit898499a50f54732f7acd57229e7bb2a6a56b7e5d (patch)
treebb620960ec77365d84624901664697c69ef93981 /tests/topotests/lib/topotest.py
parentMerge pull request #13611 from donaldsharp/logger_warn (diff)
downloadfrr-898499a50f54732f7acd57229e7bb2a6a56b7e5d.tar.xz
frr-898499a50f54732f7acd57229e7bb2a6a56b7e5d.zip
tests: python-foo assure foo[0] is on a list not dict_values object
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to '')
-rw-r--r--tests/topotests/lib/topotest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/lib/topotest.py b/tests/topotests/lib/topotest.py
index 4520300fd..0e96921b7 100644
--- a/tests/topotests/lib/topotest.py
+++ b/tests/topotests/lib/topotest.py
@@ -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(