ceph / merfi

Finds and signs files with different signing tools (gpg, rpm-sign)
MIT License
3 stars 3 forks source link

test RpmSign class and improve --key arg handling #20

Closed ktdreyer closed 8 years ago

ktdreyer commented 8 years ago

The first commit in this PR lays the groundwork for being able to extend BaseBackendTest to test the RpmSign class by refactoring the specific assertions out of the parent class.

The second commit tidies up an issue I encountered while testing with some spurious "Release" files in my tree.

The third commit improves the --key argument handling for rpm-sign.

The last commit adds tests for RpmSign.

(The --keyfile argument is still not yet functional here, but this PR sets us up to fix that.)