uranusjr commented on code in PR #41325:
URL: https://github.com/apache/airflow/pull/41325#discussion_r1832445526
##########
tests/always/test_example_dags.py:
##########
@@ -199,6 +199,10 @@ def test_should_be_importable(example: str):
@pytest.mark.db_test
@pytest.mark.parametrize("example",
example_not_excluded_dags(xfail_db_exception=True))
def test_should_not_do_database_queries(example: str):
+ if example.endswith("airflow/example_dags/example_asset_decorator.py"):
+ # The asset decorator tries to write DAG and Asset into db which is
expected
+ return
Review Comment:
Not sure if we should do this… other examples don’t need to write the DAG
and Asset into db?
--
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]