Changeset 12808 for main/waeup.ikoba/trunk/src/waeup/ikoba/payments/tests
- Timestamp:
- 21 Mar 2015, 13:22:39 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/payments/tests/test_payment.py
r12800 r12808 275 275 276 276 def test_payment_id_format(self): 277 # payment ids have a special format: " PAY_<32 hex digits>"277 # payment ids have a special format: "<32 hex digits>" 278 278 id1 = Payment(self.payer, self.payable).payment_id 279 279 assert isinstance(id1, basestring) 280 assert re.match(' PAY_[0-9a-f]{32}', id1)280 assert re.match('[0-9a-f]{32}', id1) 281 281 282 282 def test_initial_state_is_unpaid(self):
Note: See TracChangeset for help on using the changeset viewer.