Page MenuHomeSoftware Heritage

tests: Use TimestampWithTimezone.from_datetime() instead of the constructor
ClosedPublic

Authored by vlorentz on Tue, Jan 11, 2:15 PM.

Details

Summary

A future release of swh-model will change its constructor's signature (replace 'offset'
and 'negative_utc_offset' with 'offset_bytes).

Diff Detail

Repository
rDSEA Archive search
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D6913 (id=25056)

Rebasing onto b260c82475...

Current branch diff-target is up to date.
Changes applied before test
commit c0140db7b5045332b061983af2540bcf8ff8e3ad
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Tue Jan 11 14:15:21 2022 +0100

    tests: Use TimestampWithTimezone.from_datetime() instead of the constructor
    
    A future release of swh-model will change its constructor's signature (replace 'offset'
    and 'negative_utc_offset' with 'offset_bytes).

See https://jenkins.softwareheritage.org/job/DSEA/job/tests-on-diff/304/ for more details.

This revision was not accepted when it landed; it landed in state Needs Review.Tue, Jan 11, 3:29 PM
This revision was automatically updated to reflect the committed changes.