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 |
||
|---|---|---|
| .. | ||
| dnfjson.go | ||
| dnfjson_test.go | ||