[Checkins] SVN: zc.authorizedotnet/trunk/src/zc/authorizedotnet/tests.py Fix tests: the approval codes are alphanumeric now.

Albertas Agejevas alga at pov.lt
Wed Dec 20 14:26:47 EST 2006


Log message for revision 71634:
  Fix tests: the approval codes are alphanumeric now.
  

Changed:
  U   zc.authorizedotnet/trunk/src/zc/authorizedotnet/tests.py

-=-
Modified: zc.authorizedotnet/trunk/src/zc/authorizedotnet/tests.py
===================================================================
--- zc.authorizedotnet/trunk/src/zc/authorizedotnet/tests.py	2006-12-20 19:16:45 UTC (rev 71633)
+++ zc.authorizedotnet/trunk/src/zc/authorizedotnet/tests.py	2006-12-20 19:26:47 UTC (rev 71634)
@@ -267,7 +267,7 @@
 
 def test_suite():
     checker = renormalizing.RENormalizing([
-        (re.compile(r"'\d{6}'"), "'123456'"), # for approval codes
+        (re.compile(r"'.{6}'"), "'123456'"), # for approval codes
         (re.compile(r"'\d{9}'"), "'123456789'"), # for transaction IDs
         ])
 



More information about the Checkins mailing list