Details
tox
Diff Detail
- Repository
- rDSTO Storage manager
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 8990 Build 13139: tox-on-jenkins Jenkins Build 13138: arc lint + arc unit
Event Timeline
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/775/ for more details.
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/776/ for more details.
pytest fixtures declaration should be simplified.
Otherwise, this feels weird to have database declarations only related to the debian lister/loader in swh-storage.
Maybe this could be moved in swh-lister or swh-loader-debian ?
swh/storage/tests/schemata/conftest.py | ||
---|---|---|
11 | Using @pytest.fixture is sufficient here (see pytest doc) | |
swh/storage/tests/schemata/test_distribution.py | ||
12 | same here |
Both the lister and loader use these models; It made sense, at the time it was introduced, to put this functionality in a swh.storage subpackage, rather than introduce a dependency between lister and loader.
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/777/ for more details.
Otherwise, this feels weird to have database declarations only related to the debian lister/loader in swh-storage.
Maybe this could be moved in swh-lister or swh-loader-debian ?
For info, it's already been moved to swh-lister (see swh.lister.debian.models which is almost the same as schemata, almost because it got slightly adapted since).
As i am currently deploying the latest lister-debian and the new debian-loader... I waited for this to be deployed and running in production prior to remove it from swh.storage (the old debian-loader still depends on this even if it's not really running).
I'll do migrate those tests as well in due time.
Cheers,
Otherwise, this feels weird to have database declarations only related to the debian lister/loader in swh-storage.
Maybe this could be moved in swh-lister or swh-loader-debian ?For info, it's already been moved to swh-lister (see swh.lister.debian.models which is almost the same as schemata, almost because it got slightly adapted since).
As i am currently deploying the latest lister-debian and the new debian-loader... I waited for this to be deployed and running in production prior to remove it from swh.storage (the old debian-loader still depends on this even if it's not really running).
I'll do migrate those tests as well in due time.
done in D2273 btw