2793731977
The CLI.NotaryClient method is a shallow wrapper around trust.GetNotaryRepository and only depends on the CLI itself to pass its StdErr/StrOut streams. - This patch inlines the code to produce the client, skipping the wrapper. - Define a local interface for some tests where a dummy notary client was used. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>