diff --git a/swh/storage/tests/storage_data.py b/swh/storage/tests/storage_data.py --- a/swh/storage/tests/storage_data.py +++ b/swh/storage/tests/storage_data.py @@ -199,7 +199,9 @@ 'fullname': b'Nicolas Dandrimont ', }, 'date': { - 'timestamp': 1234567890, + 'timestamp': { + 'seconds': 1234567890, + 'microseconds': 0}, 'offset': 120, 'negative_utc': False, }, @@ -209,7 +211,9 @@ 'fullname': b'St\xc3fano Zacchiroli ' }, 'committer_date': { - 'timestamp': 1123456789, + 'timestamp': { + 'seconds': 1123456789, + 'microseconds': 0}, 'offset': 0, 'negative_utc': True, }, @@ -253,7 +257,9 @@ 'fullname': b'tony ', }, 'committer_date': { - 'timestamp': 1123456789, + 'timestamp': { + 'seconds': 1123456789, + 'microseconds': 0}, 'offset': 0, 'negative_utc': False, }, @@ -287,7 +293,9 @@ 'fullname': b'tony ', }, 'committer_date': { - 'timestamp': 1127351742, + 'timestamp': { + 'seconds': 1127351742, + 'microseconds': 0}, 'offset': 0, 'negative_utc': False, }, @@ -389,7 +397,9 @@ 'fullname': b'olasd ', }, 'date': { - 'timestamp': 1234567890, + 'timestamp': { + 'seconds': 1234567890, + 'microseconds': 0}, 'offset': 42, 'negative_utc': False, }, @@ -408,7 +418,9 @@ 'fullname': b'tony ', }, 'date': { - 'timestamp': 1634366813, + 'timestamp': { + 'seconds': 1634366813, + 'microseconds': 0}, 'offset': -120, 'negative_utc': False, }, @@ -427,7 +439,9 @@ 'fullname': b'tony ', }, 'date': { - 'timestamp': 1634336813, + 'timestamp': { + 'seconds': 1634336813, + 'microseconds': 0}, 'offset': 0, 'negative_utc': False, },