'Test calling revert_to_published on vertical with no draft content does nothing.'

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

    self.initdb(default_ms)
    self._create_block_hierarchy()
    self.store.publish(self.course.location, self.user_id)
    orig_vertical = self.store.get_item(self.vertical_x1a)
    self.store.revert_to_published(self.vertical_x1a, self.user_id)
    reverted_vertical = self.store.get_item(self.vertical_x1a)
    self.assertBlocksEqualByFields(orig_vertical, reverted_vertical)
