示例#1
0
 def test_for_local_child(self):
     t = Time()
     t.configure({'name': 'time', 'parent': None})
     self.failUnless(t.has_child('local'), 'No local child!')
示例#2
0
 def test_for_local_child(self):
     t = Time()
     t.configure({'name':'time','parent':None})
     self.failUnless(t.has_child('local'),'No local child!')
示例#3
0
 def test_for_UTC_child(self):
     t = Time()
     t.configure({'name': 'time', 'parent': None})
     self.failUnless(t.has_child('UTC'), 'No UTC child!')
示例#4
0
 def test_for_UTC_child(self):
     t = Time()
     t.configure({'name':'time','parent':None})
     self.failUnless(t.has_child('UTC'),'No UTC child!')