Lines Matching refs:collection
130 def _check(collection, expected): argument
131 self.logger.debug("Looking for collection %s..." % collection)
132 result = self.layerindex.find_collection(collection)
134 … self.assertIsNotNone(result, msg="Did not find %s when it should be there" % collection)
136 self.assertIsNone(result, msg="Found %s when it shouldn't be there" % collection)
145 for collection,result in tests:
146 _check(collection, result)
158 … self.assertIsNotNone(result, msg="Did not find %s when it should be there" % collection)
160 self.assertIsNone(result, msg="Found %s when it shouldn't be there" % collection)
169 for collection,result in tests:
170 _check(collection, result)