Esempio n. 1
0
 def testConstructor(self):
     table = mapscript.hashTableObj()
     tabletype = type(table)
     assert str(tabletype) == "<class 'mapscript.hashTableObj'>", tabletype
Esempio n. 2
0
 def testConstructor(self):
     table = mapscript.hashTableObj()
     tabletype = type(table)
     assert str(tabletype) == "<class 'mapscript.hashTableObj'>", tabletype
Esempio n. 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)
Esempio n. 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)