@@ -156,7 +156,7 @@ def test_no_uri_supplied() -> None:
156156
157157
158158@pytest .mark .filterwarnings (
159- "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning"
159+ "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning" # noqa: E501
160160)
161161def test_token_200 (rest_mock : Mocker ) -> None :
162162 rest_mock .post (
@@ -179,7 +179,7 @@ def test_token_200(rest_mock: Mocker) -> None:
179179
180180
181181@pytest .mark .filterwarnings (
182- "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning"
182+ "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning" # noqa: E501
183183)
184184def test_token_200_without_optional_fields (rest_mock : Mocker ) -> None :
185185 rest_mock .post (
@@ -198,7 +198,7 @@ def test_token_200_without_optional_fields(rest_mock: Mocker) -> None:
198198
199199
200200@pytest .mark .filterwarnings (
201- "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning"
201+ "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning" # noqa: E501
202202)
203203def test_token_with_optional_oauth_params (rest_mock : Mocker ) -> None :
204204 mock_request = rest_mock .post (
@@ -223,7 +223,7 @@ def test_token_with_optional_oauth_params(rest_mock: Mocker) -> None:
223223
224224
225225@pytest .mark .filterwarnings (
226- "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning"
226+ "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning" # noqa: E501
227227)
228228def test_token_with_optional_oauth_params_as_empty (rest_mock : Mocker ) -> None :
229229 mock_request = rest_mock .post (
@@ -246,7 +246,7 @@ def test_token_with_optional_oauth_params_as_empty(rest_mock: Mocker) -> None:
246246
247247
248248@pytest .mark .filterwarnings (
249- "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning"
249+ "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning" # noqa: E501
250250)
251251def test_token_with_default_scope (rest_mock : Mocker ) -> None :
252252 mock_request = rest_mock .post (
@@ -267,7 +267,7 @@ def test_token_with_default_scope(rest_mock: Mocker) -> None:
267267
268268
269269@pytest .mark .filterwarnings (
270- "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning"
270+ "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning" # noqa: E501
271271)
272272def test_token_with_custom_scope (rest_mock : Mocker ) -> None :
273273 mock_request = rest_mock .post (
@@ -289,7 +289,7 @@ def test_token_with_custom_scope(rest_mock: Mocker) -> None:
289289
290290
291291@pytest .mark .filterwarnings (
292- "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning"
292+ "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning" # noqa: E501
293293)
294294def test_token_200_w_oauth2_server_uri (rest_mock : Mocker ) -> None :
295295 rest_mock .post (
@@ -314,7 +314,7 @@ def test_token_200_w_oauth2_server_uri(rest_mock: Mocker) -> None:
314314
315315
316316@pytest .mark .filterwarnings (
317- "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning"
317+ "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning" # noqa: E501
318318)
319319def test_config_200 (requests_mock : Mocker ) -> None :
320320 requests_mock .get (
@@ -402,7 +402,7 @@ def test_config_sets_headers(requests_mock: Mocker) -> None:
402402
403403
404404@pytest .mark .filterwarnings (
405- "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning"
405+ "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning" # noqa: E501
406406)
407407def test_token_400 (rest_mock : Mocker ) -> None :
408408 rest_mock .post (
@@ -418,7 +418,7 @@ def test_token_400(rest_mock: Mocker) -> None:
418418
419419
420420@pytest .mark .filterwarnings (
421- "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning"
421+ "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning" # noqa: E501
422422)
423423def test_token_401 (rest_mock : Mocker ) -> None :
424424 message = "invalid_client"
@@ -664,7 +664,7 @@ def test_list_namespace_with_parent_404(rest_mock: Mocker) -> None:
664664
665665
666666@pytest .mark .filterwarnings (
667- "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning"
667+ "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning" # noqa: E501
668668)
669669@pytest .mark .parametrize ("status_code" , [401 , 419 ])
670670def test_list_namespaces_token_expired_success_on_retries (rest_mock : Mocker , status_code : int ) -> None :
@@ -2017,7 +2017,7 @@ def test_custom_namespace_separator(rest_mock: Mocker) -> None:
20172017
20182018
20192019@pytest .mark .filterwarnings (
2020- "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning"
2020+ "ignore:Deprecated in 0.8.0, will be removed in 1.0.0. Iceberg REST client is missing the OAuth2 server URI:DeprecationWarning" # noqa: E501
20212021)
20222022def test_auth_header (rest_mock : Mocker ) -> None :
20232023 mock_request = rest_mock .post (
0 commit comments