

def test_empty_domain(self):
    domain = []
    weighted_fns = []
    result = least_cost.weighted_sum(domain, weighted_fns)
    expected = []
    self.assertEqual(expected, result)

dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/scheduler/test_least_cost_scheduler.py WeightedSumTestCase.test_empty_domain/original