quinn_batten
01/31/2023, 4:51 PM_ ERROR at setup of TestTapPostgres.test_tap_stream_catalog_schema_matches_record _
file /Users/quinn/Library/Caches/pypoetry/virtualenvs/tap-postgres-ng67kfVD-py3.10/lib/python3.10/site-packages/singer_sdk/testing/templates.py, line 165
def run( # type: ignore[override]
E fixture 'stream' not found
More deets in threadquinn_batten
01/31/2023, 4:51 PMfrom singer_sdk.testing import get_tap_test_class
import pendulum
from tap_postgres.tap import TapPostgres
SAMPLE_CONFIG = {
"start_date": pendulum.datetime(2022,11,1).to_iso8601_string(),
"sqlalchemy_url": "<postgresql://postgres:postgres@localhost:5432/postgres>",
}
TestTapPostgres = get_tap_test_class(
tap_class=TapPostgres,
config=SAMPLE_CONFIG,
)
quinn_batten
01/31/2023, 4:52 PMquinn_batten
01/31/2023, 5:55 PM