예제 #1
0
 def test_set_print(self):
     table = Table()
     table.print_ = True
     self.assertTrue(table.print_)
     self.assertEqual(table.get_attr(CN('table:print')), 'true',
                      'table:print should be true')
예제 #2
0
 def test_set_print(self):
     table = Table()
     table.print_ = True
     self.assertTrue(table.print_)
     self.assertEqual(table.get_attr(CN('table:print')), 'true', 'table:print should be true')