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 Aug 25, 2022
1 parent f962b8f commit 121bbcc
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 121bbcc

Please sign in to comment.