tests: add low level tests for the Timestamp model entity
Merge request reports
Activity
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DMOD/job/tox/218/ See console output for more information: https://jenkins.softwareheritage.org/job/DMOD/job/tox/218/console
mentioned in merge request !96 (closed)
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DMOD/job/tox/222/ See console output for more information: https://jenkins.softwareheritage.org/job/DMOD/job/tox/222/console
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DMOD/job/tox/226/ See console output for more information: https://jenkins.softwareheritage.org/job/DMOD/job/tox/226/console
Build is green
Patch application report for D2823 (id=10441)
Could not rebase; Attempt merge onto e9a4c751...
Updating e9a4c75..ac9d4c8 Fast-forward mypy.ini | 4 +- requirements.txt | 1 + swh/model/model.py | 319 +++++++++++++++++++++++++++++------------- swh/model/tests/test_model.py | 29 ++++ 4 files changed, 258 insertions(+), 95 deletions(-)
Changes applied before test
commit ac9d4c84a115c6c8d3aea04ed55635e8e743ea1d Author: David Douard <david.douard@sdfa3.org> Date: Thu Mar 12 14:27:23 2020 +0100 tests: add low level tests for the Timestamp model entity commit 85ca7d7848008951f2e26c55c1c72ed9fa92cefb Author: David Douard <david.douard@sdfa3.org> Date: Fri Mar 20 12:59:56 2020 +0100 model: use attrs_static to enforce type validation of model objects This ensures all instanciated model entities have valid types for attributes. Related to #2308.
See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/19/ for more details.