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 2022/04/06 11:14:27 UTC

[GitHub] [airflow] bhirsz commented on a diff in pull request #22777: Migrate Dataproc to new system tests design

bhirsz commented on code in PR #22777:
URL: https://github.com/apache/airflow/pull/22777#discussion_r843816978


##########
tests/always/test_project_structure.py:
##########
@@ -244,10 +243,15 @@ def test_missing_example_for_operator(self):
             }
             all_operators -= example_paths
 
+        covered_but_omitted = self.MISSING_EXAMPLES_FOR_OPERATORS - all_operators
         all_operators -= self.MISSING_EXAMPLES_FOR_OPERATORS
         all_operators -= self.DEPRECATED_OPERATORS
         all_operators -= self.BASE_OPERATORS
-        assert set() == all_operators
+        assert set() == all_operators, (

Review Comment:
   Also updated the tests to fail if some operators are set as not covered with examples but example is found.



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org