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 #229

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.

https://github.com/isislovecruft/python-gnupg/commit/ae5cb33d6348de6afedb6f0dc82c0dd041635db5 is the commit which changed this behaviour.

tomgalloway commented 6 years ago

Opened #230 to target develop branch.