RosterIn commented on pull request #11223:
URL: https://github.com/apache/airflow/pull/11223#issuecomment-786131839


   @FHoffmannCode test is failing
   ```
   =================================== FAILURES 
===================================
   ___________ TestAirflowMacroPluginRemovedRule.test_bad_file_failure 
____________
   
   self = 
<tests.upgrade.rules.test_airflow_macro_plugin_removed.TestAirflowMacroPluginRemovedRule
 testMethod=test_bad_file_failure>
   mock_list_files = <MagicMock name='list_py_file_paths' id='140705210084688'>
   
       def test_bad_file_failure(self, mock_list_files):
           # Write a binary file
           with NamedTemporaryFile("wb+", suffix=".py") as temp_file:
               mock_list_files.return_value = [temp_file.name]
               temp_file.write(b"{\x03\xff\x00d")
               temp_file.flush()
       
               rule = AirflowMacroPluginRemovedRule()
               msgs = rule.check()
   >           assert 1 == len(msgs)
   E           AssertionError: assert 1 == 0
   E            +  where 0 = len([])
   
   tests/upgrade/rules/test_airflow_macro_plugin_removed.py:92: AssertionError
   ```


----------------------------------------------------------------
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]


Reply via email to