dstandish commented on code in PR #43496:
URL: https://github.com/apache/airflow/pull/43496#discussion_r1825078754


##########
tests/api_fastapi/core_api/routes/public/test_backfills.py:
##########
@@ -92,22 +80,17 @@ def configured_app(minimal_app_for_api):
     dag_bag = DagBag(os.devnull, include_examples=False)
     dag_bag.dags = {dag.dag_id: dag, dag2.dag_id: dag2, dag3.dag_id: dag3}
 
-    app.dag_bag = dag_bag
 
-    yield app
-
-    delete_user(app, username="test")
-    delete_user(app, username="test_no_permissions")
+def to_iso(val):
+    return pendulum.instance(val).to_iso8601_string()
 
 
 class TestBackfillEndpoint:
-    @pytest.fixture(autouse=True)
-    def setup_attrs(self, configured_app) -> None:
-        self.app = configured_app
-        self.client = self.app.test_client()  # type:ignore
-        self.dag_id = DAG_ID
-        self.dag2_id = DAG2_ID
-        self.dag3_id = DAG3_ID
+    # @pytest.fixture(autouse=True)
+    # def setup_attrs(self):
+    #     self.dag_id = DAG_ID
+    #     self.dag2_id = DAG2_ID
+    #     self.dag3_id = DAG3_ID

Review Comment:
   done



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