in-toto / apt-transport-in-toto

in-toto transport for apt
Other
8 stars 6 forks source link

Add full mock installation and unit tests #18

Closed lukpueh closed 5 years ago

lukpueh commented 5 years ago

Fixes issue #: Mostly fixes #9

Description of the changes being introduced by the pull request: Refactor test_intoto.py mock installation scaffolding for easier testing of different scenarios, i.e. with passing and failing (for different reasons) in-toto verification.

Add additional unit tests test_units.py to cover cases that are not feasible to be tested in the course of above mock installation.

Please verify and check that the pull request fulfills the following requirements: