anchore / anchore-engine

A service that analyzes docker images and scans for vulnerabilities
Apache License 2.0
1.58k stars 271 forks source link

Add unit test for the write_kvfile_fomdict method #1352

Closed dakaneye closed 2 years ago

dakaneye commented 2 years ago

Signed-off-by: Samuel Dacanay sam.dacanay@anchore.com

What this PR does / why we need it: Adds a unit test for the write_kvfile_fromdict method

Which issue this PR fixes (optional, in fixes #<issue number>)(, fixes #<issue_number, ...) format, will close the issue when PR is merged: fixes #:

Special notes:

dakaneye commented 2 years ago

@emily-lopez fixed the issues you called upon! Thanks for pointing that out. By the way, the current unit tests failures are an external issue, which I've also fixed in: https://github.com/anchore/anchore-engine/pull/1365