def test_get_nodes_in_env(self):
        self.assertEqual(len(lib.get_nodes("production")), 3)
        self.assertEqual(len(lib.get_nodes("staging")), 1)
Create a model.MapreduceState including MapreduceSpec and MapperSpec.
dataset/ETHPy150Open tobami/littlechef/tests/test_lib.py/TestLib.test_get_nodes_in_env--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/test/mapreduce/output_writers_test.py/GCSRecordOutputWriterTestBase.create_mapreduce_state