ashb commented on a change in pull request #3935: [AIRFLOW-1390] Update Alembic
to 0.9
URL: https://github.com/apache/incubator-airflow/pull/3935#discussion_r219634562
##########
File path: tests/operators/operators.py
##########
@@ -47,6 +47,13 @@ def setUp(self):
dag = DAG(TEST_DAG_ID, default_args=args)
self.dag = dag
+ def tearDown(self):
+ from airflow.hooks.mysql_hook import MySqlHook
+ drop_tables = {'test_mysql_to_mysql', 'test_airflow'}
+ with MySqlHook().get_conn() as conn:
+ for table in drop_tables:
+ conn.execute("DROP TABLE IF EXISTS {}".format(table))
Review comment:
What's this test for?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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