def METHOD_NAME(self) -> None:
    compressed_image = (
        image_services.compress_image(self.jpeg_raw_image, 0.5))
    height, width = (
        image_services.get_image_dimensions(compressed_image))
    self.assertEqual(self.TEST_IMAGE_HEIGHT * 0.5, height)
    self.assertEqual(self.TEST_IMAGE_WIDTH * 0.5, width)