fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Cite corner case support in admin.
[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)))