forked from mirrors/bookwyrm
Fixes transient failure in image field test
This commit is contained in:
parent
05cde33a0c
commit
ef1558628f
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class ActivitypubFields(TestCase):
|
||||||
output = fields.image_serializer(user.avatar)
|
output = fields.image_serializer(user.avatar)
|
||||||
self.assertIsNotNone(
|
self.assertIsNotNone(
|
||||||
re.match(
|
re.match(
|
||||||
r'https://%s/images/avatars/test_[A-z0-9]+\.jpg' % DOMAIN,
|
r'https://%s/images/avatars/test_.*\.jpg' % DOMAIN,
|
||||||
output.url,
|
output.url,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue