mrichman commented on PR #28338: URL: https://github.com/apache/airflow/pull/28338#issuecomment-1496405345
I'm still having issues with mocking. From within the sensor under test, it's expecting a string but logging shows that is the actual mock object: ``` INFO [airflow.task.operators] Table: <MagicMock name='conn().Table()' id='139672622317904'> INFO [airflow.task.operators] Response: <MagicMock name='conn().Table().get_item()' id='139672635852432'> INFO [airflow.task.operators] Want: Foo = Bar INFO [airflow.task.operators] Got: <MagicMock name='conn().Table().get_item().__getitem__().__getitem__()' id='139673141356944'> = Bar ``` Full logs: [log.txt](https://github.com/apache/airflow/files/11151777/log.txt) -- 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]
