uranusjr commented on a change in pull request #17777: URL: https://github.com/apache/airflow/pull/17777#discussion_r695297546
########## File path: tests/test_utils/mock_process.py ########## @@ -85,3 +84,15 @@ def __next__(self): def __iter__(self): yield from self.iterable + + +class MockConnectionCursor(BaseMockConnectionCursor): + def __init__(self, *args, **kwargs): + super().__init__() + self.iterable = [(1, 1), (2, 2)] Review comment: I think you can just do this ```suggestion class MockConnectionCursor(BaseMockConnectionCursor): iterable = [(1, 1), (2, 2)] ``` -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org