Update doctest for GPG.__init__().

testing/mmn/mktime_takes_localtime_not_gmtime
Isis Lovecruft 2013-06-03 11:35:26 +00:00
parent d3c509265f
commit 0f2770ff78
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 3 additions and 9 deletions

View File

@ -98,21 +98,15 @@ class GPG(GPGBase):
>>> import gnupg
GnuPG logging disabled...
>>> gpg = gnupg.GPG(homedir='./test-homedir')
>>> gpg = gnupg.GPG(homedir='doctests')
>>> gpg.keyring
'./test-homedir/pubring.gpg'
'./doctests/pubring.gpg'
>>> gpg.secring
'./test-homedir/secring.gpg'
'./doctests/secring.gpg'
>>> gpg.use_agent
False
>>> gpg.binary
'/usr/bin/gpg'
>>> import os
>>> import shutil
>>> if os.path.exists('./test-homedir'):
... shutil.rmtree('./test-homedir')
...
"""
super(GPG, self).__init__(