Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maximearmstrong committed Dec 18, 2024
1 parent 15f5b2b commit 1b64ddb
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,13 @@ def test_basic_resource_request(
AirbyteJobStatusType.FAILED,
TEST_UNRECOGNIZED_AIRBYTE_JOB_STATUS_TYPE,
],
ids=[
"job_status_succeeded",
"job_status_cancelled",
"job_status_error",
"job_status_failed",
"job_status_unrecognized",
],
)
def test_airbyte_sync_and_poll_client_job_status(
status: str, base_api_mocks: responses.RequestsMock
Expand Down Expand Up @@ -313,6 +320,10 @@ def _mock_interaction():
True,
False,
],
ids=[
"cancel_on_termination_true",
"cancel_on_termination_false",
],
)
def test_airbyte_sync_and_poll_client_cancel_on_termination(
cancel_on_termination: bool, base_api_mocks: responses.RequestsMock
Expand Down

0 comments on commit 1b64ddb

Please sign in to comment.