Skip to content

Commit 460c40a

Browse files
committed
remove unused code
1 parent 03f3360 commit 460c40a

File tree

2 files changed

+1
-27
lines changed

2 files changed

+1
-27
lines changed

airbyte_cdk/test/declarative/test_suites/declarative_sources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def create_connector(
3333

3434
manifest_dict = yaml.safe_load(self.manifest_path.read_text())
3535
if self.components_py_path and self.components_py_path.exists():
36-
os.environ["AIRBYTE_ALLOW_CUSTOM_CODE"] = "true"
36+
os.environ["AIRBYTE_ENABLE_UNSAFE_CODE"] = "true"
3737
config["__injected_components_py"] = self.components_py_path.read_text()
3838
config["__injected_components_py_checksums"] = {
3939
"md5": md5_checksum(self.components_py_path),
Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
# Copyright (c) 2025 Airbyte, Inc., all rights reserved.
2-
import os
32
from pathlib import Path
43

5-
from typing_extensions import override
6-
7-
from airbyte_cdk.sources.declarative.concurrent_declarative_source import (
8-
ConcurrentDeclarativeSource,
9-
)
104
from airbyte_cdk.test.declarative.test_suites import (
11-
ConnectorTestScenario,
125
DeclarativeSourceTestSuite,
136
generate_tests,
147
)
@@ -38,22 +31,3 @@ class TestSuiteSourcePokeAPI(DeclarativeSourceTestSuite):
3831
manifest_path = get_resource_path("manifest.yaml")
3932
components_py_path = get_resource_path("components.py")
4033
acceptance_test_config_path = get_resource_path("acceptance-test-config.yml")
41-
42-
# @override
43-
# @classmethod
44-
# def get_scenarios(cls) -> list[ConnectorTestScenario]:
45-
# """Define the scenarios for the test suite."""
46-
# return [
47-
# ConnectorTestScenario(
48-
# id="pikachu",
49-
# config_dict={"pokemon_name": "pikachu"},
50-
# ),
51-
# ConnectorTestScenario(
52-
# id="bulbasaur",
53-
# config_dict={"pokemon_name": "bulbasaur"},
54-
# ),
55-
# ConnectorTestScenario(
56-
# id="charmander",
57-
# config_dict={"pokemon_name": "charmander"},
58-
# ),
59-
# ]

0 commit comments

Comments
 (0)