183
183
self.assertEquals(self.data_store.current_version, self.version)
184
184
self.assertTrue(self.exists_in_index(charm['_id']))
186
189
def test_exception_raised(self):
187
190
"""Putting new mapping without creating the filter and analyzer
188
191
raises the expected exception.
190
194
self.versions.ensure_initialized(self.data_store, True)
191
195
## Pretend upgrades through 26 are complete.
192
196
self.data_store.update_version(26)