Turning image's media manager into a new style class.
images are the first media type to use the new style class based media manager.
This commit is contained in:
@@ -231,7 +231,7 @@ class TestSubmission:
|
||||
media = self.check_media(request, {'title': u'Balanced Goblin'}, 1)
|
||||
|
||||
assert media.media_type == u'mediagoblin.media_types.image'
|
||||
assert media.media_manager.mm_dict == img_MEDIA_MANAGER
|
||||
assert isinstance(media.media_manager, img_MEDIA_MANAGER)
|
||||
assert media.media_manager.entry == media
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user