dstandish commented on code in PR #37016: URL: https://github.com/apache/airflow/pull/37016#discussion_r1497981416
########## tests/datasets/test_dataset.py: ########## @@ -18,13 +18,19 @@ from __future__ import annotations import os +from collections import defaultdict import pytest +from sqlalchemy.sql import select from airflow.datasets import Dataset +from airflow.models.dataset import DatasetAll, DatasetAny, DatasetDagRunQueue, DatasetModel +from airflow.models.serialized_dag import SerializedDagModel from airflow.operators.empty import EmptyOperator +from airflow.serialization.serialized_objects import BaseSerialization, SerializedDAG [email protected]_test Review Comment: oh yeah it's cus an autouse fixture was added ``` @pytest.fixture(autouse=True) def clear_datasets(): from tests.test_utils.db import clear_db_datasets clear_db_datasets() ``` i'll remove that -- 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]
