def test_get_nodes(self):
        found_nodes = lib.get_nodes()
        self.assertEqual(len(found_nodes), len(self.nodes))
        expected_keys = ['name', 'chef_environment', 'run_list']
        for node in found_nodes:
            self.assertTrue(all([key in node for key in expected_keys]))
Should return all configured nodes when no environment is given
dataset/ETHPy150Open tobami/littlechef/tests/test_lib.py/TestLib.test_get_nodes