Did I find the right examples for you? yes no

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/p/y/pysaml2-2.0.0/src/saml2/saml.py   pysaml2(Download)
# Generated Mon May  2 14:23:33 2011 by parse_xsd.py version 0.4.
#
from saml2.validate import valid_ipv4, MustValueError
from saml2.validate import valid_ipv6
from saml2.validate import ShouldValueError
        elif not self.subject:
            raise MustValueError(
                "If no statement MUST contain a subject element")
 
        if self.authn_statement and not self.subject:
            raise MustValueError(
                "An assertion with an AuthnStatement must contain a Subject")

src/p/y/pysaml2-HEAD/src/saml2/saml.py   pysaml2(Download)
# Generated Mon May  2 14:23:33 2011 by parse_xsd.py version 0.4.
#
from saml2.validate import valid_ipv4, MustValueError
from saml2.validate import valid_ipv6
from saml2.validate import ShouldValueError
        elif not self.subject:
            raise MustValueError(
                "If no statement MUST contain a subject element")
 
        if self.authn_statement and not self.subject:
            raise MustValueError(
                "An assertion with an AuthnStatement must contain a Subject")

src/p/y/pysaml2-HEAD/tests/test_13_validate.py   pysaml2(Download)
from saml2 import samlp
from saml2 import md
from saml2.validate import valid_duration, MustValueError
from saml2.validate import valid_unsigned_short
from saml2.validate import valid_non_negative_integer

src/p/y/pysaml2-2.0.0/tests/test_13_validate.py   pysaml2(Download)
from saml2 import samlp
from saml2 import md
from saml2.validate import valid_duration, MustValueError
from saml2.validate import valid_unsigned_short
from saml2.validate import valid_non_negative_integer