def fake_cluster_orm(**updates):
 db_cluster = fake_db_cluster(**updates)
 del db_cluster['services']
 cluster = models.Cluster(**db_cluster)
 return cluster

def fake_cluster_orm ( ** updates ) : db_cluster = fake_db_cluster ( ** updates ) del db_cluster [ 'services' ] cluster = models . Cluster ( ** db_cluster ) return cluster
create a fake orm cluster instance .