Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maximearmstrong committed Dec 26, 2024
1 parent caa5a51 commit b2c5c35
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 b2c5c35

Please sign in to comment.