Taragolis commented on code in PR #28149:
URL: https://github.com/apache/airflow/pull/28149#discussion_r1040887364
##########
tests/providers/amazon/aws/operators/test_eks.py:
##########
@@ -172,8 +171,7 @@ def test_execute_create_cluster(self,
mock_create_nodegroup, mock_create_cluster
]
for (operator, parameters) in operator_under_test:
- with self.subTest():
- operator.execute({})
+ operator.execute({})
Review Comment:
Close builtin replacement to `unittest.TestCase.subTest` is parametrise.
You might have a look how I implemented this in initial PR:
https://github.com/apache/airflow/pull/27970/files#r1034285155
--
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]