diff --git a/tangostationcontrol/tangostationcontrol/test/clients/test_snmp_client.py b/tangostationcontrol/tangostationcontrol/test/clients/test_snmp_client.py index 2b28662464d378d4a2fbec8e22e8fcf57c819216..6f6df09769191465eecaa5770b0923a71abc3d3e 100644 --- a/tangostationcontrol/tangostationcontrol/test/clients/test_snmp_client.py +++ b/tangostationcontrol/tangostationcontrol/test/clients/test_snmp_client.py @@ -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]