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

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

src/p/y/PyXB-1.2.3/tests/trac/trac-0043/tst-2.py   PyXB(Download)
    def testCode (self):
        myobj = B.b1(BIND('a2m-value', 'legal'), 'legal')
        self.assertEqual('a2m-value', myobj.a2elt.a2member)
        self.assertEqual(B.bst.legal, myobj.a2elt.a2b)
 

src/p/y/PyXB-1.2.3/tests/trac/trac-0043/tst-1.py   PyXB(Download)
        self.assertEqual(B.bst.legal, x.a2b)
 
        myobj = B.b1(x, 'legal')
        self.assertEqual(myobj.a2elt, x)