amoghrajesh commented on code in PR #58188:
URL: https://github.com/apache/airflow/pull/58188#discussion_r2517233147


##########
airflow-core/tests/unit/core/test_configuration.py:
##########
@@ -1105,6 +1105,86 @@ def test_order_of_secrets_backends_and_kwargs_on_workers(
             for key, value in expected_backend_kwargs.items():
                 assert getattr(secrets_backend, key) == value
 
+    def test_default_validators(self):
+        """Test that _validators property returns default validators."""
+        test_conf = AirflowConfigParser(default_config="")
+        validators = test_conf._validators
+
+        assert len(validators) == 4
+        expected_validators = [
+            "_validate_sqlite3_version",
+            "_validate_enums",
+            "_validate_deprecated_values",
+            "_upgrade_postgres_metastore_conn",
+        ]
+        assert [v.__name__ for v in validators] == expected_validators

Review Comment:
   Removed it. Better handled below actually.



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