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