debian-forge-composer/internal/mocks
Brian C. Lane 760be50069 mocks/dnfjson: Add mock support for the search command
The search command is more complicated than depsolve and dump. It needs
to return results based on the requested package names and globs.

Add a number of mock responses for the new search command, including
search results, all packages, and error responses that are triggered by
using special package names: nonexistingpkg, badpackage1, baddepsolve.
2022-08-23 22:47:46 +01:00
..
distro Make the Distroregistry FromHost() return distro with correct name 2021-05-14 15:43:00 +02:00
dnfjson mocks/dnfjson: Add mock support for the search command 2022-08-23 22:47:46 +01:00
rpmmd Replace all rpmmd.Depsolve() calls with dnfjson 2022-06-01 11:36:52 +01:00
rpmrepo dnfjson: add package tests 2022-06-01 11:36:52 +01:00