tests: Fix execution after swh-storage update
Literal date string must be in valid ISO 8601 format afer recent storage updates.
swh/web/tests/browse/views/test_content.py:35: in <module>
@given(content_text())
swh/web/tests/strategies.py:101: in content_text
return content().filter(lambda c: c["mimetype"].startswith("text/"))
swh/web/tests/strategies.py:85: in content
return _known_swh_object("contents")
swh/web/tests/strategies.py:56: in _known_swh_object
return sampled_from(get_tests_data()[object_type])
swh/web/tests/data.py:300: in get_tests_data
_tests_data = _init_tests_data()
swh/web/tests/data.py:181: in _init_tests_data
snapshot=hash_to_bytes("1a8893e6a86f444e8be8e7bda6cb34fb1735a00e"),
../swh-storage/swh/storage/in_memory.py:862: in origin_visit_update
self._origin_visit_get_updated(origin_url, visit_id)
../swh-storage/swh/storage/in_memory.py:918: in _origin_visit_get_updated
visit_update = max(self._origin_visit_statuses[visit_key], key=lambda v: v.date)
E TypeError: can't compare offset-naive and offset-aware datetimes
Migrated from D3079 (view on Phabricator)