our fixture is a HashTable with two items
(self)
| 108 | """Tests of the MapServer HashTable object""" |
| 109 | |
| 110 | def setUp(self): |
| 111 | "our fixture is a HashTable with two items" |
| 112 | self.table = mapscript.hashTableObj() |
| 113 | for key, value in zip(self.keys, self.values): |
| 114 | self.table.set(key, value) |
| 115 | |
| 116 | def tearDown(self): |
| 117 | self.table = None |