def setUpClass(cls): super().setUpClass(datasource_name=StatsDBConnection.get_datasource_name(), metadata=generate_stats_metadata())
def test_get_datasource_name_without_tenant(self): name = StatsDBConnection.get_datasource_name() self.assertEquals(name, config_namespace)
def test_get_datasource_name_without_tenant(self): name = StatsDBConnection.get_datasource_name() self.assertEquals(name, config_namespace)
def test_get_datasource_name(self): name = StatsDBConnection.get_datasource_name(tenant='dummy') self.assertEqual(name, config_namespace)
def test_get_datasource_name(self): name = StatsDBConnection.get_datasource_name(tenant='dummy') self.assertEqual(name, config_namespace)