isislovecruft / python-gnupg

A modified version of python-gnupg, including security patches, extensive documentation, and extra features.
Other
424 stars 172 forks source link

Test to drop options fails on GPG version 2 #230

Closed tomgalloway closed 6 years ago

tomgalloway commented 6 years ago

The test to check that invalid options are not passed to GPG fails when GPG version 2 is used. Changes are as follows: Update _meta class which sets GPG binary version to use a _util function to parse the value. Update original test to be monkey patched to ensure the test uses GPG version 1. Add a new test for GPG version 2 with the no longer valid option removed from the expected result.

ae5cb33 is the commit which changed this behaviour.