-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6288e87
commit 3608db9
Showing
5 changed files
with
84 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,28 @@ | ||
"""Tests standard tap features using the built-in SDK tests library.""" | ||
|
||
import datetime | ||
|
||
from singer_sdk.testing import get_tap_test_class | ||
|
||
from tap_mysql.tap import TapMySQL | ||
|
||
|
||
SAMPLE_CONFIG = { | ||
"host": "host_config", | ||
"port": "3306", | ||
"user": "user_config", | ||
"password": "password_config", | ||
} | ||
|
||
# import datetime | ||
# | ||
# from singer_sdk.testing import get_tap_test_class | ||
# | ||
# from tap_mysql.tap import TapMySQL | ||
# | ||
# | ||
# SAMPLE_CONFIG = { | ||
# "host": "host_config", | ||
# "port": "3306", | ||
# "user": "user_config", | ||
# "password": "password_config", | ||
# } | ||
# | ||
|
||
# Run standard built-in tap tests from the SDK: | ||
TestTapMySQL = get_tap_test_class( | ||
tap_class=TapMySQL, | ||
config=SAMPLE_CONFIG | ||
) | ||
# TestTapMySQL = get_tap_test_class( | ||
# tap_class=TapMySQL, | ||
# config=SAMPLE_CONFIG | ||
# ) | ||
|
||
|
||
# TODO: Create additional tests as appropriate for your tap. | ||
|
||
def test_nothing(): | ||
assert True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters