See image: test_image.png
'
- media_type = authoring_api.get_or_create_media_type("image/png")
- test_content = authoring_api.get_or_create_file_content(
+ media_type = content_api.get_or_create_media_type("image/png")
+ test_content = content_api.get_or_create_file_content(
self.learning_package.id,
media_type.id,
data=b"fake_image_data",
@@ -637,14 +637,14 @@ class TestMigrateFromModulestore(ModuleStoreTestCase):
)
olx = '