Skip to content

Commit 43e9685

Browse files
committed
Fix collections image url mixins test
1 parent 0fa6f33 commit 43e9685

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_mixins.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ def _test_mixins_imageUrl(obj, attr):
128128
url = getattr(obj, attr + 'Url')
129129
if getattr(obj, attr):
130130
assert url.startswith(utils.SERVER_BASEURL)
131-
assert "/library/metadata/" in url
132-
assert attr in url
131+
assert "/library/metadata/" in url or "/library/collections/" in url
132+
assert attr in url or "composite" in url
133133
if attr == 'thumb':
134134
assert getattr(obj, 'posterUrl') == url
135135
else:

0 commit comments

Comments
 (0)