Fixes path for image field in test

This commit is contained in:
Mouse Reeve 2021-08-02 20:00:02 -07:00
parent 815dbc81e3
commit a334970692

View file

@ -432,7 +432,7 @@ class ActivitypubFields(TestCase):
value_mock = ValueMock("images/fish.jpg")
result = fields.image_serializer(value_mock, "hello")
self.assertEqual(result.type, "Document")
self.assertEqual(result.url, "https://your.domain.here/static/images/fish.jpg")
self.assertEqual(result.url, "https://your.domain.here/images/fish.jpg")
self.assertEqual(result.name, "hello")
def test_datetime_field(self):