'Test that an item not found exception raised when an item is not found when getting the item.
Arguments:
store_type (ModuleStoreEnum.Type): Type of modulestore to create test course in.'

@ddt.data(ModuleStoreEnum.Type.mongo, ModuleStoreEnum.Type.split)
def test_move_item_not_found(self, store_type=ModuleStoreEnum.Type.mongo):

    self.setup_course(default_store=store_type)
    data = {'move_source_locator': unicode(self.usage_key.course_key.make_usage_key('html', 'html_test')), 'parent_locator': unicode(self.vert2_usage_key)}
    with self.assertRaises(ItemNotFoundError):
        self.client.patch(reverse('contentstore.views.xblock_handler'), json.dumps(data), content_type='application/json')
