from grow import Preprocessor
from protorpc import messages


class CustomPreprocessor(Preprocessor):
    KIND = 'custom_preprocessor'

    class Config(messages.Message):
        value = messages.StringField(1)

    def run(self, **kwargs):
        # To allow the test to check the result
        self.pod._custom_preprocessor_value = self.config.value

import grow
from protorpc import messages


class CustomPreprocessor(grow.Preprocessor):
    KIND = 'custom_preprocessor'

    class Config(messages.Message):
        value = messages.StringField(1)

    def run(self, **kwargs):
        # To allow the test to check the result
        self.pod._custom_preprocessor_value = self.config.value

Update preprocessor testdata to use grow.Preprocessor.
Update preprocessor testdata to use grow.Preprocessor.

- from grow import Preprocessor
+ import grow
  from protorpc import messages
  
  
- class CustomPreprocessor(Preprocessor):
+ class CustomPreprocessor(grow.Preprocessor):
      KIND = 'custom_preprocessor'
  
      class Config(messages.Message):
          value = messages.StringField(1)
  
      def run(self, **kwargs):
          # To allow the test to check the result
          self.pod._custom_preprocessor_value = self.config.value
  
Update preprocessor testdata to use grow.Preprocessor.
## Code Before:
from grow import Preprocessor
from protorpc import messages


class CustomPreprocessor(Preprocessor):
    KIND = 'custom_preprocessor'

    class Config(messages.Message):
        value = messages.StringField(1)

    def run(self, **kwargs):
        # To allow the test to check the result
        self.pod._custom_preprocessor_value = self.config.value

## Instruction:
Update preprocessor testdata to use grow.Preprocessor.
## Code After:
import grow
from protorpc import messages


class CustomPreprocessor(grow.Preprocessor):
    KIND = 'custom_preprocessor'

    class Config(messages.Message):
        value = messages.StringField(1)

    def run(self, **kwargs):
        # To allow the test to check the result
        self.pod._custom_preprocessor_value = self.config.value
