

def test_load_data_roles(self):
    "Should return roles when the given argument is 'roles'"
    data = chef._load_data('roles')
    self.assertEqual(len(data), 4)
    self.assertEqual(data[0]['name'], 'dbserver')

dataset/ETHPy150Open edelight/kitchen/kitchen/backends/tests.py TestData.test_load_data_roles/original