diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-08-10 15:50:16 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2017-08-11 08:42:05 -0700 |
commit | fc9884b44474a752adfc8ea2bf7026db39ec6cdb (patch) | |
tree | 172db2a0d4ed3e842ab2433ae6fb13370c71d88e /tests | |
parent | bc2fbd3de71daff918b72e15dac7a0630f817c4c (diff) |
envelope: Allow signing if address is in "name <email>" form
Currently anything except "user@domain" (such as
"User Name <user@domain>"), will not work with the sign command, because
settings.get_account_by_address wants just the "user@domain" bit, and we
don't split it.
Fixes #1113
Diffstat (limited to 'tests')
-rw-r--r-- | tests/commands/envelope_test.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/commands/envelope_test.py b/tests/commands/envelope_test.py index 51148dcc..37ea9eed 100644 --- a/tests/commands/envelope_test.py +++ b/tests/commands/envelope_test.py @@ -337,7 +337,6 @@ class TestSignCommand(unittest.TestCase): self.assertTrue(env.sign) self.assertIs(env.sign_key, mock.sentinel.gpg_key) - @unittest.expectedFailure def test_apply_from_user_and_email(self): """This tests that a gpg key can be derived using a 'From' header that contains a realname-email combo. |