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

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)
**Messages**

``badEncoding``:
  Invalid data or incorrect encoding

``badType``:
  The input must be a string (not a ``%(type)s``: ``%(value)r``)

``empty``:
  Please enter a value(more...)

src/m/e/mediadrop-HEAD/mediadrop/forms/admin/media.py   mediadrop(Download)
from mediadrop.model import Category, DBSession, Podcast
from mediadrop.plugin import events
from mediadrop.validation import URIValidator
 
class DurationValidator(FancyValidator):

src/m/e/mediadrop-HEAD/mediadrop/validation/tests/uri_validator_test.py   mediadrop(Download)
 
from mediadrop.lib.test import *
from mediadrop.validation import URIValidator
 
 
    def setUp(self):
        super(URIValidatorTest, self).setUp()
        # set's up pylons.translator
        self.init_fake_request()
        self.validator = URIValidator()