diff options
author | Rob Crittenden <rcritten@redhat.com> | 2012-03-06 15:53:07 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2012-03-14 04:40:35 -0400 |
commit | d4a80dbe52158f204e78afea742fc3322bbc65e5 (patch) | |
tree | e57040a9b05bef1f652a89b75b2ad13faf8fbbc9 /tests/test_xmlrpc/xmlrpc_test.py | |
parent | e9d68a7b001d23a7bac7cbf52e270c0723f1f69d (diff) | |
download | freeipa.git-d4a80dbe52158f204e78afea742fc3322bbc65e5.tar.gz freeipa.git-d4a80dbe52158f204e78afea742fc3322bbc65e5.tar.xz freeipa.git-d4a80dbe52158f204e78afea742fc3322bbc65e5.zip |
Display serial number as HEX (DECIMAL) when showing certificates.
https://fedorahosted.org/freeipa/ticket/1991
Diffstat (limited to 'tests/test_xmlrpc/xmlrpc_test.py')
-rw-r--r-- | tests/test_xmlrpc/xmlrpc_test.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_xmlrpc/xmlrpc_test.py b/tests/test_xmlrpc/xmlrpc_test.py index fd30cc63..716ce03a 100644 --- a/tests/test_xmlrpc/xmlrpc_test.py +++ b/tests/test_xmlrpc/xmlrpc_test.py @@ -53,6 +53,8 @@ fuzzy_date = Fuzzy('^[a-zA-Z]{3} [a-zA-Z]{3} \d{2} \d{2}:\d{2}:\d{2} \d{4} UTC$' fuzzy_issuer = Fuzzy(type=basestring, test=lambda issuer: valid_issuer(issuer, api.env.realm)) +fuzzy_hex = Fuzzy('^0x[0-9a-fA-F]+$', type=basestring) + # Matches password - password consists of all printable characters without whitespaces # The only exception is space, but space cannot be at the beggingin or end of the pwd fuzzy_password = Fuzzy('^\S([\S ]*\S)*$') |