bhirsz commented on PR #23848:
URL: https://github.com/apache/airflow/pull/23848#issuecomment-1140407684

   > Looks good. Since we added class for checking coverage (in this PR #23351) 
we can add coverage test in this PR as well. I can help with creating the class 
that should go to tests/always
   
   In this file 
https://github.com/apache/airflow/blob/main/tests/always/test_project_structure.py
 we can add class that check for the example/system tests coverage. It should 
be enough to add:
   ```
   class TestSlackProviderProjectStructure(ExampleCoverageTest):
       PROVIDER = "slack"
   
       BASE_CLASSES = {
           "airflow.providers.slack.operators.SlackAPIOperator"
       }
       MISSING_EXAMPLES_FOR_CLASSES = {
           "airflow.providers.slack.operators.SlackAPIPostOperator"
       }
   ```
   (and run it to see if it finds the example)


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

Reply via email to