

def test_get_nodes(self):
    'Should return all nodes when calling get_nodes()'
    data = chef.get_nodes()
    self.assertEqual(len(self), TOTAL_NODES)
    self.assertTrue(data[1]['name'].startswith('testnode'))

dataset/ETHPy150Open edelight/kitchen/kitchen/backends/tests.py TestData.test_get_nodes/VarMisuse@26/48 `data`->`self`