Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/test_misc.doctest
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2016-01-23 00:13:23 +0100
committerArthur de Jong <arthur@arthurdejong.org>2016-01-24 16:33:36 +0100
commit9b13d3b78c864028b5e8e892141f09a65c93a68f (patch)
treeb3ad364bd23b373ef4cb9174693e2d928de01e6b /tests/test_misc.doctest
parentb6eab4723392e398a459f99ccecc9749c857f0c6 (diff)
Normalise algorithm names
This transforms the algorithm URIs that are set to known values when parsing or setting the algorithm.
Diffstat (limited to 'tests/test_misc.doctest')
-rw-r--r--tests/test_misc.doctest2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_misc.doctest b/tests/test_misc.doctest
index 4e15879..db64b07 100644
--- a/tests/test_misc.doctest
+++ b/tests/test_misc.doctest
@@ -79,7 +79,7 @@ Setting encryption key name and algorithm also works.
>>> pskc.encryption.key_names
['Test encryption key']
>>> pskc.encryption.algorithm
->>> pskc.encryption.algorithm = 'http://www.w3.org/2001/04/xmlenc#aes128-cbc'
+>>> pskc.encryption.algorithm = 'aes128-cbc'
>>> pskc.encryption.algorithm
'http://www.w3.org/2001/04/xmlenc#aes128-cbc'