'Tests that has_changes() returns true after editing the child of a vertical (both not direct only categories).'

@ddt.data(ModuleStoreEnum.Type.mongo, ModuleStoreEnum.Type.split)
def test_has_changes_non_direct_only_children(self, default_ms):

    self.initdb(default_ms)
    parent = self.store.create_item(self.user_id, self.course.id, 'vertical', block_id='parent')
    child = self.store.create_child(self.user_id, parent.location, 'html', block_id='child')
    self.store.publish(parent.location, self.user_id)
    self.assertFalse(self._has_changes(parent.location))
    self.assertFalse(self._has_changes(child.location))
    child.display_name = 'Changed    Display    Name'
    self.store.update_item(child, user_id=self.user_id)
    self.assertTrue(self._has_changes(parent.location))
    self.assertTrue(self._has_changes(child.location))
