debian-forge-composer/internal/mocks/dnfjson
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
..
dnfjson.go mocks/dnfjson: Add mock support for the search command 2022-08-23 22:47:46 +01:00