'Test that when we move an item from an old parent which have multiple items then only moved item\'s parent
is changed while other items are still present inside old parent.'

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

    self.initdb(store_type)
    self._create_block_hierarchy()
    problem_item2 = self.store.create_child(self.user_id, self.vertical_x1a, 'problem', 'Problem_Item2')
    self.course = self.store.publish(self.course.location, self.user_id)
    item_location = self.problem_x1a_1
    new_parent_location = self.vertical_y1a
    old_parent_location = self.vertical_x1a
    updated_item_location = self.store.update_item_parent(item_location, new_parent_location, old_parent_location, self.user_id)
    self.assertEqual(updated_item_location, item_location)
    self.verify_item_parent(item_location=item_location, expected_parent_location=new_parent_location, old_parent_location=old_parent_location)
    problem_item2 = self.store.get_item(problem_item2.location)
    self.assertEqual(problem_item2.parent, self.vertical_x1a)
    self.assertIn(problem_item2.location, problem_item2.get_parent().children)
