debian-forge-composer/internal/dnfjson
Achilleas Koutsou d0da8fd122 dnfjson: add package tests
The rpmrepo mock contains code to be used for testing depsolving.  It
creates a file server that serves the metadata in test/data/testrepo and
can be used as a repository for depsolve tests.

The dnfjson tests perform a single depsolve with an expected response.
The chain depsolve tests perform multiple depsolves that should produce
the same expected response:
- Single transaction using the ChainDepsove() function
- Two transactions for the same packages split in two with no extra
  repositories
- Two transactions for the same packages split in two with the main
  repository redefined

dnfjsontest: squash
2022-06-01 11:36:52 +01:00
..
dnfjson.go New package: dnfjson 2022-06-01 11:36:52 +01:00
dnfjson_test.go dnfjson: add package tests 2022-06-01 11:36:52 +01:00