You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bo...@apache.org on 2018/05/10 08:12:08 UTC
incubator-airflow git commit: [AIRFLOW-2447] Fix
TestHiveMetastoreHook to run all cases
Repository: incubator-airflow
Updated Branches:
refs/heads/master e813c606f -> ae51daf89
[AIRFLOW-2447] Fix TestHiveMetastoreHook to run all cases
TestHiveMetastoreHook has a method which name
doesn't start with test_. This PR renames it
to be executed.
Closes #3341 from sekikn/AIRFLOW-2447
Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/ae51daf8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/ae51daf8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/ae51daf8
Branch: refs/heads/master
Commit: ae51daf8932e90c66af98e26908cf337f415aacd
Parents: e813c60
Author: Kengo Seki <se...@apache.org>
Authored: Thu May 10 10:12:01 2018 +0200
Committer: Bolke de Bruin <bo...@xs4all.nl>
Committed: Thu May 10 10:12:01 2018 +0200
----------------------------------------------------------------------
tests/hooks/test_hive_hook.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/ae51daf8/tests/hooks/test_hive_hook.py
----------------------------------------------------------------------
diff --git a/tests/hooks/test_hive_hook.py b/tests/hooks/test_hive_hook.py
index c537831..e16bb38 100644
--- a/tests/hooks/test_hive_hook.py
+++ b/tests/hooks/test_hive_hook.py
@@ -208,7 +208,7 @@ class TestHiveMetastoreHook(HiveEnvironmentTest):
pattern=self.table + "*")
self.assertIn(self.table, {table.tableName for table in tables})
- def get_databases(self):
+ def test_get_databases(self):
databases = self.hook.get_databases(pattern='*')
self.assertIn(self.database, databases)