Lower key length and fix expiry date in test_invalid_key_type().

feature/documentation-builds-html
Isis Lovecruft 2013-04-10 21:46:06 +00:00
parent 0fcf9676b3
commit 32c6c1b3ed
1 changed files with 2 additions and 2 deletions

View File

@ -328,9 +328,9 @@ class GPGTestCase(unittest.TestCase):
'Key-Type': 'INVALID', 'Key-Type': 'INVALID',
'Key-Length': 1024, 'Key-Length': 1024,
'Subkey-Type': 'ELG-E', 'Subkey-Type': 'ELG-E',
'Subkey-Length': 2048, 'Subkey-Length': 1024,
'Name-Comment': 'A test user', 'Name-Comment': 'A test user',
'Expire-Date': self.expire_today(), 'Expire-Date': 1,
'Name-Real': 'Test Name', 'Name-Real': 'Test Name',
'Name-Email': 'test.name@example.com', 'Name-Email': 'test.name@example.com',
} }