'Gets image and format info.'

def test_get_media_info_image(self):

    img = ImageFactory()
    (info_img, info_format) = _get_media_info(img.pk, 'image')
    eq_(img.pk, info_img.pk)
    eq_('jpeg', info_format)
