From f89a125a60e3b851482e458d2a5222fc1cfbd2f1 Mon Sep 17 00:00:00 2001 From: btowles Date: Mon, 18 Sep 2023 17:21:51 +0000 Subject: [PATCH] Update another assertion that depends on updates --- tests/test_bookmarks.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_bookmarks.py b/tests/test_bookmarks.py index 02c9471e..ca7f0e38 100644 --- a/tests/test_bookmarks.py +++ b/tests/test_bookmarks.py @@ -353,6 +353,14 @@ def test_run(self): self.assertIsNotNone(sync_records_payment_method[0]) else: for updated_record in updated_records[stream]: + if stream == 'invoice_items': + is_done = base.JIRA_CLIENT.get_status_category("TDL-24065") == 'done' + assert_message = ("JIRA ticket has moved to done, remove the " + "if stream != 'invoice_items' line above.") + assert is_done == False, assert_message + + continue + expected_updated_key = 'metadata' expected_updated_value_substring = 'bob' updated_pk_value = updated_record.get('id')