Exemplo n.º 1
0
 def testEmptyException (self):
     content = None
     instance = trac26.eEmpty()
     with self.assertRaises(pyxb.NotComplexContentError) as cm:
         content = instance.orderedContent()
     e = cm.exception
     self.assertEqual(e.instance, instance)
Exemplo n.º 2
0
 def testEmptyException (self):
     value = None
     instance = trac26.eEmpty()
     with self.assertRaises(pyxb.NotSimpleContentError) as cm:
         value = instance.value()
     e = cm.exception
     self.assertEqual(e.instance, instance)
Exemplo n.º 3
0
 def testEmptyException(self):
     value = None
     instance = trac26.eEmpty()
     with self.assertRaises(pyxb.NotSimpleContentError) as cm:
         value = instance.value()
     e = cm.exception
     self.assertEqual(e.instance, instance)
Exemplo n.º 4
0
 def testEmptyException(self):
     content = None
     instance = trac26.eEmpty()
     with self.assertRaises(pyxb.NotComplexContentError) as cm:
         content = instance.orderedContent()
     e = cm.exception
     self.assertEqual(e.instance, instance)
Exemplo n.º 5
0
 def testDisplayException (self):
     if DisplayException:
         trac26.eEmpty().value()
Exemplo n.º 6
0
 def testSchemaSupport (self):
     instance = trac26.eEmpty()
     cym1 = trac26.tConcSubCymru('un')
     instance = trac26.eUseAbstract(cym1)
Exemplo n.º 7
0
 def testDisplayException (self):
     if DisplayException:
         trac26.eEmpty().orderedContent()
Exemplo n.º 8
0
 def testSchemaSupport (self):
     instance = trac26.eEmpty()
     instance = trac26.eCTwSC(4)
Exemplo n.º 9
0
 def testDisplayException(self):
     if DisplayException:
         trac26.eEmpty().value()
Exemplo n.º 10
0
 def testSchemaSupport(self):
     instance = trac26.eEmpty()
     cym1 = trac26.tConcSubCymru('un')
     instance = trac26.eUseAbstract(cym1)
Exemplo n.º 11
0
 def testDisplayException(self):
     if DisplayException:
         trac26.eEmpty().orderedContent()
Exemplo n.º 12
0
 def testSchemaSupport(self):
     instance = trac26.eEmpty()
     instance = trac26.eCTwSC(4)