Changeset 12657 for main


Ignore:
Timestamp:
2 Mar 2015, 17:49:05 (10 years ago)
Author:
uli
Message:

Test gateway lister more thoroughly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/branches/uli-fake-gw-provider/src/waeup/ikoba/payments/tests/test_payment.py

    r12655 r12657  
    6161        assert result['some_name'] is fake_util
    6262
     63
    6364class FunctionalHelperTests(FunctionalTestCase):
    6465
     
    6970        util = queryUtility(IPaymentGatewayServicesLister)
    7071        assert util is not None
     72
     73    def test_services_are_really_listed(self):
     74        # we can really get locally registered gateways when calling
     75        util = queryUtility(IPaymentGatewayServicesLister)
     76        assert len(util()) > 0
    7177
    7278
Note: See TracChangeset for help on using the changeset viewer.