Str/bytes fix for publishing audiobooks.
[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)))