Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/p/y/pyon-HEAD/pyon/core/interceptor/test/interceptor_test.py   pyon(Download)
from pyon.util.unit_test import PyonTestCase
from pyon.core.interceptor.encode import EncodeInterceptor
from pyon.core.interceptor.validate import ValidateInterceptor
from pyon.core.interceptor.interceptor import Invocation
from pyon.public import IonObject, DotDict, BadRequest
    def test_decorator_validation(self):
        #
        # Test required values
        #
        validate_interceptor = ValidateInterceptor()