kaxil commented on pull request #11643: URL: https://github.com/apache/airflow/pull/11643#issuecomment-714431213
> ``` > > assert 'pidfile' in mock_celery_worker.call_args.kwargs > E AssertionError: assert 'pidfile' in kwargs > E + where kwargs = call(autoscale=None, concurrency=16, hostname=None, loglevel='INFO', optimization='fair', pidfile='test_pid_file', pool='prefork', queues='default').kwargs > E + where call(autoscale=None, concurrency=16, hostname=None, loglevel='INFO', optimization='fair', pidfile='test_pid_file', pool='prefork', queues='default') = <MagicMock name='Worker' id='140524089964136'>.call_args > ``` > > Looks like a slight API change in mock vs unittest.mock that we'll need to fix in our tests. Updated ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
