C_Ramirez
05/23/2023, 9:33 AMkapa.ai
05/23/2023, 9:33 AMkapa.ai
05/23/2023, 9:34 AMacceptance-test-config.yml
file in your connector's root folder. [Source](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) 2. Build your connector image if needed. [Source](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) 3. Run the tests using one of the two scripts in the root of the connector: - python -m pytest -p integration_tests.acceptance
- ./acceptance-test-docker.sh
[Source](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) If you encounter errors, you can debug failed tests by adding --pdb --last-failed
to the python -m pytest
command. [Source](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) For more information on testing connectors and troubleshooting, you can refer to the [Airbyte documentation](https://docs.airbyte.com/connector-development/testing-connectors).C_Ramirez
05/23/2023, 9:47 AM>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> captured log >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>WARNING rootconftest.py161 We did not find the airbyte/source-us-ak-dot:latest image for this connector. This probably means this version has not yet been published to an accessible docker registry like DockerHub. INFO rootconftest.py70 Using /airbyte/airbyte-integrations/connectors/source-us-ak-dot/secrets/config.json as configuration. It is the most recent version.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> traceback >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>connector_config = SecretDict(******), previous_connector_docker_runner = None, previous_cached_schemas = {} @pytest.fixture(name="previous_discovered_catalog") def previous_discovered_catalog_fixture( connector_config, previous_connector_docker_runner: ConnectorRunner, previous_cached_schemas ) -> MutableMapping[str, AirbyteStream]: """JSON schemas for each stream""" if not previous_cached_schemas:
output = previous_connector_docker_runner.call_discover(config=connector_config)E AttributeError: 'NoneType' object has no attribute 'call_discover' ../../bases/source-acceptance-test/source_acceptance_test/conftest.py275 AttributeError