t.Errorf("mismatch in TFAMethod hint in authentication response: s=interactive u=%s p=%s, expected=%v got=%v",td.username,td.password,td.expectedTFAMethod,resp.TFAMethod)
iftd.expectedTFAMethod!=auth.TFAMethodNone{
found:=false
for_,m:=rangeresp.TFAMethods{
ifm==td.expectedTFAMethod{
found=true
break
}
}
if!found{
t.Errorf("mismatch in TFAMethod hint in authentication response: s=interactive u=%s p=%s, expected=%v got=%v",td.username,td.password,td.expectedTFAMethod,resp.TFAMethods)