Merge "Fix test_metric_file_override metric from backend"

This commit is contained in:
Zuul 2019-05-29 08:13:31 +00:00 committed by Gerrit Code Review
commit ee3cbe46ef
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class TestDataSourceManager(base.BaseTestCase):
with mock.patch(path, return_value=retval):
dsmcfg = self._dsm_config(datasources=['monasca'])
manager = self._dsm(config=dsmcfg)
backend = manager.get_backend(['host_cpu_usage'])
backend = manager.get_backend(['host_airflow'])
self.assertEqual("host_fnspid", backend.METRIC_MAP['host_airflow'])
def test_metric_file_invalid_ds(self):