Skip to content
Snippets Groups Projects
Commit db36f10e authored by Auke Klazema's avatar Auke Klazema
Browse files

L2SS-873: Collect mock args that also works with 3.7

parent 533654d4
No related branches found
No related tags found
1 merge request!398Resolve L2SS-873
......@@ -173,8 +173,7 @@ class TestSNMP(base.TestCase):
# get a value to compare the value we got against
checkval = server.val_check(i, server.DIM_LIST[j])
res_lst = [call.args[1] for call in hlapi.ObjectType.call_args_list if call.args]
res_lst = [args[1] for args, _ in hlapi.ObjectType.call_args_list if args]
if len(res_lst) == 1:
res_lst = res_lst[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment