ashb opened a new pull request #14746: URL: https://github.com/apache/airflow/pull/14746
Creating the Flask API and Connexion take a significant amount of time to create, and each of these test modules creates the Flask app with the same set up "initializers". To make this work we had to switch away from `unittest.TestCase`, as pytest fixtures won't work with TestCase subclasses. The `configured_app` fixture is defined at the module level, otherwise each _subclass_ would have it's "own" module scope fixture. This takes the test time for api_connexion/endpoints down to sub-1 minute for me. ---------------------------------------------------------------- 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]
