
                            d dl Z d dlmZ  e j                  ej                  ej
                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  g	      d        Z e j                  ej                  g      d        Zd Ze j"                  j%                  ddd	g      d
        Ze j"                  j%                  ddd	g      d        Zy)    N)
exceptions)paramsc                     | j                   S Nparamrequests    Oplatform/gsutil/third_party/google-auth-library-python/tests/test_exceptions.pyretryable_exceptionr      s     ==    c                     | j                   S r   r   r	   s    r   non_retryable_exceptionr   %   s    ==r   c                 *     |        j                   rJ y r   	retryable)r   s    r   !test_default_retryable_exceptionsr   *   s    "$.....r   r   TFc                 8     | |      } | j                   |k(  sJ y Nr   r   )r   r   s     r   test_retryable_exceptionsr   .   s!    -	B((I555r   c                 2     | |      } | j                   rJ y r   r   )r   r   s     r   test_non_retryable_exceptionsr   4   s    5	J&00000r   )pytestgoogle.authr   fixtureGoogleAuthErrorTransportErrorRefreshErrorUserAccessTokenErrorDefaultCredentialsErrorMutualTLSChannelError
OAuthErrorReauthFailErrorReauthSamlChallengeFailErrorr   ClientCertErrorr   r   markparametrizer   r    r   r   <module>r)      s    " ""!!''**((""//
 
2234 5/ tUm46 56
 tUm41 51r   