def mock_get_available_idps(idps):
def _():<EOL><INDENT>"""<STR_LIT>"""<EOL>idp_list = []<EOL>for idp in idps:<EOL><INDENT>mock_idp = mock.Mock()<EOL>mock_idp.configure_mock(provider_id=idp, name=idp)<EOL>idp_list.append(mock_idp)<EOL><DEDENT>return idp_list<EOL><DEDENT>return _<EOL>
Mock method for get_available_idps.