Exemple #1
0
 def testConstructor(self):
     table = mapscript.hashTableObj()
     tabletype = type(table)
     assert str(tabletype) == "<class 'mapscript.hashTableObj'>", tabletype
Exemple #2
0
 def testConstructor(self):
     table = mapscript.hashTableObj()
     tabletype = type(table)
     assert str(tabletype) == "<class 'mapscript.hashTableObj'>", tabletype
Exemple #3
0
 def setUp(self):
     "our fixture is a HashTable with two items"
     self.table = mapscript.hashTableObj()
     for key, value in zip(self.keys, self.values):
         self.table.set(key, value)
Exemple #4
0
 def setUp(self):
     "our fixture is a HashTable with two items"
     self.table = mapscript.hashTableObj()
     for key, value in zip(self.keys, self.values):
         self.table.set(key, value)