Exemplo n.º 1
0
 def test_base64_path(self):
     image = ImageModelFactory.create()
     thumbnail = Thumbnail(image.file.path, {'size': ['50', '50']})
     assert thumbnail.get_base64_path().endswith('.base64')