'Tests that an unpublished unit remains with no changes across export and re-import.'

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

    with self._build_store(default_ms) as (contentstore, source_course_key):
        draft_xblock = self.store.create_item(self.user_id, self.course.id, 'vertical', block_id='test_vertical')
        self.assertTrue(self._has_changes(draft_xblock.location))
        self._export_import_course_round_trip(self.store, contentstore, source_course_key, self.export_dir)
        self.assertTrue(self._has_changes(draft_xblock.location))
