msumit closed pull request #2709: [AIRFLOW-1739] Resolve TestDbApiHook naming 
ambiguity 
URL: https://github.com/apache/incubator-airflow/pull/2709
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/tests/hooks/test_dbapi_hook.py b/tests/hooks/test_dbapi_hook.py
index 3484ee99da..10cd09dea4 100644
--- a/tests/hooks/test_dbapi_hook.py
+++ b/tests/hooks/test_dbapi_hook.py
@@ -34,13 +34,13 @@ def setUp(self):
         self.conn.cursor.return_value = self.cur
         conn = self.conn
 
-        class TestDBApiHook(DbApiHook):
+        class UnitTestDbApiHook(DbApiHook):
             conn_name_attr = 'test_conn_id'
 
             def get_conn(self):
                 return conn
 
-        self.db_hook = TestDBApiHook()
+        self.db_hook = UnitTestDbApiHook()
 
     def test_get_records(self):
         statement = "SQL"


 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to