Ignore:
Timestamp:
20 Nov 2014, 01:48:04 (10 years ago)
Author:
uli
Message:

Fix sample paths.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba/tests/test_zcml.py

    r11992 r11998  
    5454        # the 'datacenter' directive can be used in ZCML
    5555        assert queryUtility(IDataCenterConfig) is None
    56         zcfile("sample.zcml", tests)  # 'execute' the ZCML
     56        zcfile("sample-datacenter.zcml", tests)  # 'execute' the ZCML
    5757        result = getUtility(IDataCenterConfig)
    5858        assert result == {'path': u'/some/path'}
     
    7171        # the 'paypalconf' ZCML directive works
    7272        assert queryUtility(IPayPalConfig) is None
    73         zcfile("sample.zcml", tests)  # 'execute' the ZCML file
     73        zcfile("sample-paypalconf.zcml", tests)  # 'execute' the ZCML file
    7474        result = getUtility(IPayPalConfig)
    75         assert result == {'path': u'/other/path'}
     75        assert result == {'path': u'/path/to/some/paypal.conf'}
    7676
    7777    def test_paypal_config_singleton(self):
Note: See TracChangeset for help on using the changeset viewer.