Skip to content

Commit

Permalink
Source Sentry: add unit_tests (#15961)
Browse files Browse the repository at this point in the history
  • Loading branch information
bazarnov authored and rodireich committed Aug 25, 2022
1 parent b714d86 commit f44dca4
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#
# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
#


from airbyte_cdk.logger import AirbyteLogger
from source_sentry.source import SourceSentry

def test_source_wrong_credentials():
source = SourceSentry()
status, error = source.check_connection(logger=AirbyteLogger(), config={"auth_token": "test_auth_token"})
assert not status

0 comments on commit f44dca4

Please sign in to comment.