def create_and_store_shard_state(self, mapreduce_id, shard_number):
    shard_state = self.create_shard_state(mapreduce_id, shard_number)
    shard_state.put()
    return shard_state
Creates a new valid shard state and saves it into memcache.
dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/test/mapreduce/handlers_test.py/MapreduceHandlerTestBase.create_and_store_shard_state