

def test_load_data_nodes(self):
    "Should return nodes when the given argument is 'nodes'"
    data = chef._load_data('nodes')
    self.assertEqual(len(data), TOTAL_NODES)
    self.assertTrue(data[1]['name'].startswith('testnode'))

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