f22eb9898eeff44933f9994314cb82624f543362
[wolnelektury.git] / src / wolnelektury / test_utils.py
1 class DummyThumbnailBackend:
2     class DummyThumbnail:
3         def __init__(self, url):
4             self.url = url
5
6     def get_thumbnail(self, file_, geometry_string, **options):
7         return self.DummyThumbnail(url='-'.join((file_.url, geometry_string)))