1
0
mirror of synced 2026-02-02 07:01:59 -05:00
Files
airbyte/airbyte-integrations/bases/source-acceptance-test/unit_tests/conftest.py

26 lines
504 B
Python

#
# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
#
import json
from contextlib import contextmanager
import pytest
@pytest.fixture
def mssql_spec_schema():
with open("unit_tests/data/mssql_spec.json") as f:
return json.load(f).get("connectionSpecification")
@pytest.fixture
def postgres_source_spec_schema():
with open("unit_tests/data/postgres_spec.json") as f:
return json.load(f).get("connectionSpecification")
@contextmanager
def does_not_raise():
yield