diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2018-03-24 22:13:41 +0100 |
---|---|---|
committer | Jelle van der Waa <jelle@vdwaa.nl> | 2018-03-24 22:13:41 +0100 |
commit | bdc563d8a64ee72c341a22966d0948a4081b0b47 (patch) | |
tree | ca7e93d4b5a040a3ca87dcce8e46396d7f757008 /main | |
parent | 843c9a4397e78703508f9fc7f8968258e6acfed7 (diff) | |
download | archweb-bdc563d8a64ee72c341a22966d0948a4081b0b47.tar.gz archweb-bdc563d8a64ee72c341a22966d0948a4081b0b47.zip |
tests: Fix 8,20 key_id length test
Diffstat (limited to 'main')
-rw-r--r-- | main/tests/test_templatetags_pgp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/tests/test_templatetags_pgp.py b/main/tests/test_templatetags_pgp.py index 89e68ec6..f9bc0b9f 100644 --- a/main/tests/test_templatetags_pgp.py +++ b/main/tests/test_templatetags_pgp.py @@ -21,8 +21,8 @@ class PGPTemplateTest(TestCase): pgp_key_len = len(pgp_key) + len('0x') self.assertEqual(pgp_key_len, len(format_key(pgp_key))) - # 8 - 20 len case - pgp_key = '3E2C81117BFB1108D' + # 8, 20 len case + pgp_key = '3E2C81117BFB1108DEFF' pgp_key_len = len(pgp_key) + len('0x') self.assertEqual(pgp_key_len, len(format_key(pgp_key))) |