You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/11/27 12:14:01 UTC

[GitHub] [airflow] ashb edited a comment on issue #6472: [AIRFLOW-6058] Running tests with pytest

ashb edited a comment on issue #6472: [AIRFLOW-6058] Running tests with pytest
URL: https://github.com/apache/airflow/pull/6472#issuecomment-559062244
 
 
   ```
   tests/executors/test_executor.py:27
   
     /opt/airflow/tests/executors/test_executor.py:27: PytestCollectionWarning: cannot collect test class 'TestExecutor' because it has a __init__ constructor (from: executors/test_executor.py)
   
       class TestExecutor(BaseExecutor):
   ```
   
   That class is an executor for testing, not tests of an executor, so we should probably rename that. Perhaps put it under tests.test_utils?
   
   Similar for TestSecurityManager class. (Probably renaming is the best answer there)

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services