MCPcopy Create free account
hub / github.com/MapServer/MapServer / setUp

Method setUp

mapscript/python/tests/cases/hashtest.py:110–114  ·  view source on GitHub ↗

our fixture is a HashTable with two items

(self)

Source from the content-addressed store, hash-verified

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

Callers 3

setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45

Calls 1

setMethod · 0.45

Tested by

no test coverage detected