ashb commented on a change in pull request #14863:
URL: https://github.com/apache/airflow/pull/14863#discussion_r596428652
##########
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:
Making this session scoped will I think make a big difference.
----------------------------------------------------------------
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]