eladkal commented on code in PR #37364:
URL: https://github.com/apache/airflow/pull/37364#discussion_r1510206510
##########
tests/providers/google/cloud/operators/test_dataflow.py:
##########
@@ -577,6 +578,24 @@ def test_start_with_location(self, dataflow_mock):
assert not kwargs["variables"]
assert kwargs["location"] == TEST_LOCATION
+ @pytest.mark.parametrize(
+ "status, message",
+ [
+ ("error", f"Dataflow job with id {JOB_ID} has failed its
execution"),
+ ("stopped", f"Dataflow job with id {JOB_ID} was stopped"),
+ ("cancelled", f"Dataflow job with id {JOB_ID} was cancelled"),
+ ]
Review Comment:
```suggestion
],
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]