Skip to content

Commit 7a81b3b

Browse files
authored
fix: parametrize the connector name in the template code documentation (#532)
1 parent 2f11bfa commit 7a81b3b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

airbyte_cdk/cli/airbyte_cdk/_connector.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
TEST_FILE_TEMPLATE = '''
6565
# Copyright (c) 2025 Airbyte, Inc., all rights reserved.
66-
"""FAST Airbyte Standard Tests for the source_pokeapi_w_components source."""
66+
"""FAST Airbyte Standard Tests for the {connector_name} source."""
6767
6868
#from airbyte_cdk.test.standard_tests import {base_class_name}
6969
from airbyte_cdk.test.standard_tests.util import create_connector_test_suite
@@ -78,7 +78,7 @@
7878
)
7979
8080
# class TestSuite({base_class_name}):
81-
# """Test suite for the source_pokeapi_w_components source.
81+
# """Test suite for the {connector_name} source.
8282
8383
# This class inherits from SourceTestSuiteBase and implements all of the tests in the suite.
8484
@@ -152,7 +152,7 @@ def test(
152152

153153
file_text = TEST_FILE_TEMPLATE.format(
154154
base_class_name=connector_test_suite.__bases__[0].__name__,
155-
connector_directory=str(connector_directory),
155+
connector_name=connector_name,
156156
)
157157
test_file_path = Path() / ".tmp" / "integration_tests/test_airbyte_standards.py"
158158
test_file_path = test_file_path.resolve().absolute()

0 commit comments

Comments
 (0)