One more legacy test file ported to pytest, still a couple of test files
to process in swh-model though.
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Commits
- rDMOD243520daa827: test_hashutil: Port tests from unittest to pytest
Diff Detail
- Repository
- rDMOD Data model
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 25398 Build 39703: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 39702: arc lint + arc unit
Event Timeline
Build has FAILED
Patch application report for D6752 (id=24515)
Rebasing onto 8d96dfedee...
First, rewinding head to replay your work on top of it... Applying: test_hashutil: Port tests from unittest to pytest
Changes applied before test
commit a7d0cfae18fb1fb66be3fac6ef08bc0e8fdf0ee9 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Mon Dec 6 16:02:58 2021 +0100 test_hashutil: Port tests from unittest to pytest
Link to build: https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/404/
See console output for more information: https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/404/console
Build has FAILED
Patch application report for D6752 (id=24516)
Rebasing onto 8d96dfedee...
First, rewinding head to replay your work on top of it... Applying: test_hashutil: Port tests from unittest to pytest
Changes applied before test
commit 464cbc73f3efec27efa7bea428a4d9be14479d87 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Mon Dec 6 16:02:58 2021 +0100 test_hashutil: Port tests from unittest to pytest
Link to build: https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/405/
See console output for more information: https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/405/console
Build is green
Patch application report for D6752 (id=24519)
Rebasing onto 8d96dfedee...
First, rewinding head to replay your work on top of it... Applying: test_hashutil: Port tests from unittest to pytest
Changes applied before test
commit f44d07eaf970fabb285225c6fd22d9eb9ea01e36 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Mon Dec 6 16:02:58 2021 +0100 test_hashutil: Port tests from unittest to pytest
See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/406/ for more details.
Build is green
Patch application report for D6752 (id=24522)
Rebasing onto 8d96dfedee...
Current branch diff-target is up to date.
Changes applied before test
commit 4a53fdcae885fdfb235c6b5df139e630ad088fc4 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Mon Dec 6 16:02:58 2021 +0100 test_hashutil: Port tests from unittest to pytest
See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/407/ for more details.
swh/model/tests/test_hashutil.py | ||
---|---|---|
286 | If I recall correctly, that test was for Python versions (< 3.5) with no built-in support for blake2. It makes me think that we could drop the associated code in hashutil and those tests as we are using Python 3.7 in production. |
Build is green
Patch application report for D6752 (id=24524)
Rebasing onto 8d96dfedee...
Current branch diff-target is up to date.
Changes applied before test
commit 243520daa82790ba05e8e88feea3065e905c03db Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Mon Dec 6 16:02:58 2021 +0100 test_hashutil: Port tests from unittest to pytest
See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/410/ for more details.