1
0
mirror of synced 2026-01-03 15:04:01 -05:00
Files
airbyte/airbyte-integrations/connectors/source-dockerhub/integration_tests/acceptance.py
Cole Snodgrass 2e099acc52 update headers from 2022 -> 2023 (#22594)
* It's 2023!

* 2022 -> 2023

---------

Co-authored-by: evantahler <evan@airbyte.io>
2023-02-08 13:01:16 -08:00

21 lines
571 B
Python

#
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#
import os
import pathlib
import shutil
import pytest
pytest_plugins = ("connector_acceptance_test.plugin",)
@pytest.fixture(scope="session", autouse=True)
def connector_setup():
"""This source doesn't have any secrets, so this copies the sample_files config into secrets/ for acceptance tests"""
src_folder = pathlib.Path(__file__).parent.parent.resolve()
os.makedirs(f"{src_folder}/secrets", exist_ok=True)
shutil.copy(f"{src_folder}/sample_files/config.json", f"{src_folder}/secrets/")