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