'test updating an item'

def _test_creating_item(self, store):

    self.reindex_library(store)
    response = self.search()
    self.assertEqual(response['total'], 2)
    data = 'Some    data'
    ItemFactory.create(parent_location=self.library.location, category='html', display_name='Html    Content    3', data=data, modulestore=store, publish_item=False)
    self.reindex_library(store)
    response = self.search()
    self.assertEqual(response['total'], 3)
    html_contents = [cont['html_content'] for cont in self._get_contents(response)]
    self.assertIn(data, html_contents)
