Skip to content

Commit

Permalink
Link skip test with jira
Browse files Browse the repository at this point in the history
  • Loading branch information
prijendev committed Jan 21, 2025
1 parent c765c52 commit bfd764f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
import singer
from singer import utils
from tap_tester import connections, menagerie, runner
from tap_tester.jira_client import JiraClient as jira_client
from tap_tester.jira_client import CONFIGURATION_ENVIRONMENT as jira_config

JIRA_CLIENT = jira_client({ **jira_config })
LOGGER = singer.get_logger()


Expand Down
6 changes: 5 additions & 1 deletion tests/test_zuora_all_fields.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from base import ZuoraBaseTest
from base import ZuoraBaseTest, JIRA_CLIENT
from tap_tester import connections, menagerie, runner

# These are the streams which don't support Deleted field coming in the catalog
Expand Down Expand Up @@ -45,6 +45,10 @@ def run_test(self, api_type):
self.zuora_api_type = api_type

# Streams to verify all fields tests
# Fail the test when the JIRA card is done to allow RefundTransactionLog stream to check the assertion
self.assertNotEqual(JIRA_CLIENT.get_status_category('TDL-26953'),
'done',
msg='JIRA ticket has moved to done, re-add RefundTransactionLog stream to testable streams')
expected_streams = {"Account"}

expected_automatic_fields = self.expected_automatic_fields()
Expand Down

0 comments on commit bfd764f

Please sign in to comment.