Page MenuHomeSoftware Heritage

Fix test data: only create aware datetime objects
ClosedPublic

Authored by douardda on May 13 2020, 11:39 AM.

Details

Summary

Also move OBJECT_TYPES global variable to tests/journal_data.py
since it's the only user of this variable left.

Diff Detail

Repository
rDJNL Journal infrastructure
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 D3148 (id=11176)

Rebasing onto 25339889f8...

Current branch diff-target is up to date.
Changes applied before test
commit 89cd8f7bea879b989ee0609fb93923a8578cd132
Author: David Douard <david.douard@sdfa3.org>
Date:   Tue May 12 16:06:04 2020 +0200

    Fix test data: only create aware datetime objects

commit bad6e3d67d500ceffeabb308dcf4723d7a469729
Author: David Douard <david.douard@sdfa3.org>
Date:   Tue May 12 15:47:54 2020 +0200

    Move OBJECT_TYPES global variable to tests/journal_data.py
    
    since it's the only user of this variable left.

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

This revision is now accepted and ready to land.May 13 2020, 11:46 AM