def _get_container_inspect(c_id):
 for (co, _, _, _, _) in TestServiceDiscovery.container_inspects:
  if (co.get('Id') == c_id):
   return co
  return None

def _get_container_inspect ( c_id ) : for ( co , _ , _ , _ , _ ) in TestServiceDiscovery . container_inspects : if ( co . get ( 'Id' ) == c_id ) : return co return None
return a mocked container inspect dict from self .