potiuk commented on code in PR #35160:
URL: https://github.com/apache/airflow/pull/35160#discussion_r1375456975


##########
tests/www/views/test_views_rendered.py:
##########
@@ -250,6 +254,13 @@ def test_rendered_template_secret(admin_client, 
create_dag_run, task_secret):
     assert ti.state == TaskInstanceState.QUEUED
 
 
+if os.environ.get("_AIRFLOW_SKIP_DB_TESTS") == "true":

Review Comment:
   This test needs database initialized when collection happens. Not perfect, 
but it shows an easy way how you can handle it in cases where you want to get 
--skip-db-tests still working and parsing this file while collecting.



-- 
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-unsubscr...@airflow.apache.org

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

Reply via email to