'Test the update_exif_orientation without orientation will not throw exception.'

def test_update_exif_orientation_without_orientation(self):

    requested_images = {10: 'ten.jpg'}
    with make_image_file(extension='.jpg') as imfile:
        for (_, image) in self._create_mocked_profile_images(imfile, requested_images):
            self.check_exif_orientation(image, None)
            exif = image.info.get('exif', piexif.dump({}))
            self.assertEqual(_update_exif_orientation(exif, None), image.info.get('exif', piexif.dump({})))
