def test_respect_enforce_ratio_yes(self):
    self._require_backend()
    self.plugin.enforce_ratio = True
    self._assertImageIsValidArt(self.IMG_500x490, False)
    self._assertImageIsValidArt(self.IMG_225x225, True)
def test_respect_enforce_ratio_yes(self):
    self._require_backend()
    self.plugin.enforce_ratio = True
    self._assertImageIsValidArt(self.IMG_500x490, False)
    self._assertImageIsValidArt(self.IMG_225x225, True)