From 73192f7c204393217cb995f3ff3f42d98f3eadd7 Mon Sep 17 00:00:00 2001 From: Eugene Kulak Date: Mon, 18 Dec 2023 21:45:26 +0200 Subject: [PATCH] format --- .../test_model_to_component_factory.py | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/parsers/test_model_to_component_factory.py b/airbyte-cdk/python/unit_tests/sources/declarative/parsers/test_model_to_component_factory.py index 02370e779797..8aeba55ea18c 100644 --- a/airbyte-cdk/python/unit_tests/sources/declarative/parsers/test_model_to_component_factory.py +++ b/airbyte-cdk/python/unit_tests/sources/declarative/parsers/test_model_to_component_factory.py @@ -937,20 +937,18 @@ def test_create_request_with_session_authenticator(): } - -@pytest.mark.parametrize("input_config, expected_authenticator_class", - [ - pytest.param( - {"auth": {"type": "token"}, "credentials": {"api_key": "some_key"}}, - ApiKeyAuthenticator, - id="test_create_requester_with_selective_authenticator_and_token_selected", - ), - pytest.param( - {"auth": {"type": "oauth"}, "credentials": {"client_id": "ABC"}}, - DeclarativeOauth2Authenticator, - id="test_create_requester_with_selective_authenticator_and_oauth_selected", - ), - ] +@pytest.mark.parametrize("input_config, expected_authenticator_class", [ + pytest.param( + {"auth": {"type": "token"}, "credentials": {"api_key": "some_key"}}, + ApiKeyAuthenticator, + id="test_create_requester_with_selective_authenticator_and_token_selected", + ), + pytest.param( + {"auth": {"type": "oauth"}, "credentials": {"client_id": "ABC"}}, + DeclarativeOauth2Authenticator, + id="test_create_requester_with_selective_authenticator_and_oauth_selected", + ), +] ) def test_create_requester_with_selective_authenticator(input_config, expected_authenticator_class): content = """