Fixes transient failure in image field test

This commit is contained in:
Mouse Reeve 2020-12-05 14:48:47 -08:00
parent 05cde33a0c
commit ef1558628f

View file

@ -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,
) )
) )