1
0
mirror of synced 2026-01-07 09:05:45 -05:00
Files
airbyte/airbyte-integrations/connectors/source-posthog/unit_tests/unit_test.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

14 lines
377 B
Python

#
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#
from airbyte_cdk.logger import AirbyteLogger
from source_posthog import SourcePosthog
def test_client_wrong_credentials():
source = SourcePosthog()
status, error = source.check_connection(logger=AirbyteLogger(), config={"api_key": "blahblah", "start_date": "2021-01-01T00:00:00Z"})
assert not status