
                         2    S r SSKJr  SSKJr  SSKJr  S rg)z=Library for working with Firebase Test Lab service endpoints.    )
exceptions)log)
propertiesc                     [         R                  R                  R                  R	                  5       n [         R                  R                  R
                  R	                  5       n[        R                  " SR                  U 5      5        [        R                  " SR                  U5      5        USL =(       d    SU;   =(       d    SU;   U SL =(       d    SU ;   :w  a  [        R                  " X5      eg)a@  Ensure that test-service endpoints are compatible with each other.

A staging/test ToolResults API endpoint will not work correctly with a
production Testing API endpoint, and vice versa. This check is only relevant
for internal development.

Raises:
  IncompatibleApiEndpointsError if the endpoints are not compatible.
zTest Service endpoint: [{0}]zTool Results endpoint: [{0}]Nzhttps://www.googleapiszhttps://toolresultszhttps://testing)r   VALUESapi_endpoint_overridestestingGettoolresultsr   infoformatr   IncompatibleApiEndpointsError)testing_urltoolresults_urls     5lib/googlecloudsdk/api_lib/firebase/test/endpoints.pyValidateTestServiceEndpointsr      s     !!88@@DDF+%%<<HHLLN/(()00=>(()00AB$ 0":o"M 0/d>/;>@ 
2
2& &@    N)__doc__$googlecloudsdk.api_lib.firebase.testr   googlecloudsdk.corer   r   r    r   r   <module>r      s     D < # *&r   