milton0825 commented on a change in pull request #5349: [AIRFLOW-4591] Make
default_pool a real pool
URL: https://github.com/apache/airflow/pull/5349#discussion_r290107132
##########
File path: tests/www/api/experimental/test_endpoints.py
##########
@@ -291,14 +292,10 @@ class TestPoolApiExperimental(TestBase):
@classmethod
def setUpClass(cls):
super(TestPoolApiExperimental, cls).setUpClass()
- session = Session()
- session.query(Pool).delete()
- session.commit()
- session.close()
def setUp(self):
super().setUp()
-
+ clear_db_pools(create_default_pool=False)
Review comment:
Yeah just updated.
----------------------------------------------------------------
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]
With regards,
Apache Git Services