Add `Hg20BundleLoader` tests from json files
Generated json files with `swh/loader/mercurial/tests/data/build.py` for existing repositories and added them to `Hg20BundleLoader` tests. Introduce `LoaderChecker` as a standardized way to test repositories against json files.
Showing
- swh/loader/mercurial/tests/data/hello.json 1 addition, 0 deletionsswh/loader/mercurial/tests/data/hello.json
- swh/loader/mercurial/tests/data/the-sandbox.json 1 addition, 0 deletionsswh/loader/mercurial/tests/data/the-sandbox.json
- swh/loader/mercurial/tests/data/transplant.json 1 addition, 0 deletionsswh/loader/mercurial/tests/data/transplant.json
- swh/loader/mercurial/tests/loader_checker.py 74 additions, 0 deletionsswh/loader/mercurial/tests/loader_checker.py
- swh/loader/mercurial/tests/test_loader.py 12 additions, 0 deletionsswh/loader/mercurial/tests/test_loader.py
swh/loader/mercurial/tests/data/hello.json
0 → 100644
swh/loader/mercurial/tests/loader_checker.py
0 → 100644
Please register or sign in to comment