re-use the dataset in swh-model
Details
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Commits
- rDGQL00768c2e9eb2: Refactor functional tests to use existing dataset
Diff Detail
Diff Detail
- Repository
- rDGQL GraphQL API
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build is green
Patch application report for D7908 (id=28512)
Rebasing onto 6ee8e01f52...
Current branch diff-target is up to date.
Changes applied before test
commit 027d4ef3d84c19bd6e7c66212c2739370a9cd971 Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Mon May 30 10:47:39 2022 +0200 Refactor functional tests to use existing dataset re-use the dataset in swh-model
See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/34/ for more details.
Comment Actions
lgtm
A couple of remarks/suggestions inline.
swh/graphql/tests/functional/test_origin_connection.py | ||
---|---|---|
39–68 | I usually prefer using format for pattern like this, that allows to give some more meaning to the value we are replacing in the string. | |
swh/graphql/tests/functional/test_origin_node.py | ||
46 | same remark... etc... | |
swh/graphql/tests/functional/utils.py | ||
9 | What do you think about adding types? Even though that's test utilities, it might come in handy for future refactoring later. |
Comment Actions
Build is green
Patch application report for D7908 (id=28547)
Rebasing onto b312a60fad...
Current branch diff-target is up to date.
Changes applied before test
commit 00768c2e9eb2483925df4bed57dd4553840b045d Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Mon May 30 10:47:39 2022 +0200 Refactor functional tests to use existing dataset re-use the dataset in swh-model
See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/36/ for more details.