Depends on D664.
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Maniphest Tasks
- T1219: add tests to git loader
- Commits
- rDLDGc7bf9e26f88c: Run git loader tests on BulkUpdater too.
Diff Detail
- Repository
- rDLDG Git loader
- Branch
- updater-tests
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 2420 Build 2965: tox-on-jenkins Jenkins Build 2964: arc lint + arc unit
Event Timeline
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DLDG/job/tox/24/
See console output for more information: https://jenkins.softwareheritage.org/job/DLDG/job/tox/24/console
Build is green
See https://jenkins.softwareheritage.org/job/DLDG/job/tox/25/ for more details.
swh/loader/git/tests/test_updater.py | ||
---|---|---|
11 | (Ideally, we should have added that in the other test class as well but out of scope here, just mentioning it) |
swh/loader/git/tests/test_loader.py | ||
---|---|---|
122 | What do you mean? It has the exact same behavior as Storage.object_find_by_sha1_git (other than operating on mock data) |
swh/loader/git/tests/test_loader.py | ||
---|---|---|
122 | I mean as there is is no context in that diff, it's not apparent that this diff actually test anything. In general, having context helps. |
Build is green
See https://jenkins.softwareheritage.org/job/DLDG/job/tox/26/ for more details.
Build is green
See https://jenkins.softwareheritage.org/job/DLDG/job/tox/27/ for more details.
swh/loader/git/tests/test_updater.py | ||
---|---|---|
11 | That's not helpful. There is no docstring in the DirGitLoaderTest class which explains anything. I know it's boring but it's useful. To have an example, check the loader-svn's tests [1] or the loader-mercurial's [2] |
Build is green
See https://jenkins.softwareheritage.org/job/DLDG/job/tox/28/ for more details.