Пример #1
0
 def testRawGetField(self):
     mcf = avango._make_instance_by_name("MockFieldContainer")
     self.failIfEqual(None, mcf)
     self.failIfEqual(None, mcf._get_field("AnIntField"))
Пример #2
0
 def testExplicitGetValue(self):
     mcf = avango._make_instance_by_name("MockFieldContainer")
     self.failIfEqual(None, mcf)
     field = mcf._get_field("AnIntField")
     self.failIfEqual(None, field)
     self.assertEqual(0, field.get_value())
Пример #3
0
 def testRawCreateInstance(self):
     self.failIfEqual(None, avango._make_instance_by_name("MockFieldContainer"))