Skip to content

Commit

Permalink
Use newer test framework
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Dec 15, 2023
1 parent 877f8b2 commit db9e624
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions target_csv/tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,12 @@

from typing import Any, Dict

from singer_sdk.testing import get_standard_target_tests
from singer_sdk.testing import get_target_test_class

from target_csv.target import TargetCSV

SAMPLE_CONFIG: Dict[str, Any] = {
# TODO: Initialize minimal target config
}


# Run standard built-in target tests from the SDK:
def test_standard_target_tests():
"""Run standard target tests from the SDK."""
tests = get_standard_target_tests(
TargetCSV,
config=SAMPLE_CONFIG,
)
for test in tests:
test()


# TODO: Create additional tests as appropriate for your target.
TestTargetCSV = get_target_test_class(TargetCSV, config=SAMPLE_CONFIG)

0 comments on commit db9e624

Please sign in to comment.