def test_clusters(self): # test referencing clusters cluster = config.get_cluster("dev") self.assertIn('client_id', cluster) # get_client() should merge the cluster if it is referenced instead of # an explicit client_id and client_secret client = config.get_client("cluster-client") self.assertEqual(client['client_id'], cluster['client_id'])
def test_clusters(self): # test referencing clusters cluster = config.get_cluster("dev") self.assertTrue(isinstance(cluster, dict)) self.assertIn('client_id', cluster)