Changeset 12320


Ignore:
Timestamp:
26 Dec 2014, 08:38:57 (10 years ago)
Author:
uli
Message:

Make sure, fake objects to really implement their ifaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/payments/tests/test_paypal.py

    r12311 r12320  
    10511051
    10521052    payer_id = 'PAYER-123'
     1053    first_name = u'Joe'
     1054    last_name = u'Shopper'
    10531055
    10541056
     
    10641066    implements(IPaymentItem)
    10651067
     1068    title = u'Fake Item'
    10661069    item_id = 'BILL-123456'
    10671070    amount = decimal.Decimal("12.10")
    10681071    currency = 'EUR'
     1072
     1073
     1074# Make sure all fake classes (and objects made of them) are up-to-date
     1075verifyClass(IPayer, FakePayer)
     1076verifyObject(IPayer, FakePayer())
     1077verifyClass(IPayee, FakePayee)
     1078verifyObject(IPayee, FakePayee())
     1079verifyClass(IPaymentItem, FakePaymentItem)
     1080verifyObject(IPaymentItem, FakePaymentItem())
    10691081
    10701082
Note: See TracChangeset for help on using the changeset viewer.