

def test_get_free_u_in_empty_rack_should_return_max_u_height(self):
    rack = RackFactory()
    self.assertEqual(rack.get_free_u(), rack.max_u_height)

dataset/ETHPy150Open allegro/ralph/src/ralph/data_center/tests/test_models.py RackTest.test_get_free_u_in_empty_rack_should_return_max_u_height/original