diff options
author | Miloslav Trmač <mitr@redhat.com> | 2022-08-24 22:56:54 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2022-08-29 17:55:38 +0200 |
commit | a304b8d28702b7838533bb111908c1f47b20772d (patch) | |
tree | 73442fd0bf3b4f205c3a6e206f68f3c13dd45bcb /pkg/trust/registries.go | |
parent | 721de77c40783c90954ad46c6fd3b1443b770052 (diff) | |
download | podman-a304b8d28702b7838533bb111908c1f47b20772d.tar.gz podman-a304b8d28702b7838533bb111908c1f47b20772d.tar.bz2 podman-a304b8d28702b7838533bb111908c1f47b20772d.zip |
Add a unit test for trust.PolicyDescription
Add at least a basic unit test for the various entry types.
So that we don't have to actually deal with GPG keys and /usr/bin/gpg*,
parametrize the code with a gpgIDReader , and pass a fake one
in the unit test.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'pkg/trust/registries.go')
0 files changed, 0 insertions, 0 deletions