uranusjr commented on a change in pull request #14863:
URL: https://github.com/apache/airflow/pull/14863#discussion_r596802445



##########
File path: tests/www/test_views.py
##########
@@ -122,31 +122,39 @@ def local_context(self):
         return result
 
 
-class TestBase(unittest.TestCase):
-    @classmethod
-    @dont_initialize_flask_app_submodules(
-        skip_all_except=[
-            "init_appbuilder",
-            "init_appbuilder_views",
-            "init_flash_views",
-            "init_jinja_globals",
-        ]
-    )
-    def setUpClass(cls):
+class TestBase:
+    @pytest.fixture(scope="class")

Review comment:
       I tried making `minimal_app` module-scope and 
`TestDagRunModelView::test_clear_dag_runs_action` fails. And interestingly, it 
also does not speed up the tests 🤔 




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to