Changeset 11998 for main/waeup.ikoba/branches/uli-payments/src
- Timestamp:
- 20 Nov 2014, 01:48:04 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba/tests/test_zcml.py
r11992 r11998 54 54 # the 'datacenter' directive can be used in ZCML 55 55 assert queryUtility(IDataCenterConfig) is None 56 zcfile("sample .zcml", tests) # 'execute' the ZCML56 zcfile("sample-datacenter.zcml", tests) # 'execute' the ZCML 57 57 result = getUtility(IDataCenterConfig) 58 58 assert result == {'path': u'/some/path'} … … 71 71 # the 'paypalconf' ZCML directive works 72 72 assert queryUtility(IPayPalConfig) is None 73 zcfile("sample .zcml", tests) # 'execute' the ZCML file73 zcfile("sample-paypalconf.zcml", tests) # 'execute' the ZCML file 74 74 result = getUtility(IPayPalConfig) 75 assert result == {'path': u'/ other/path'}75 assert result == {'path': u'/path/to/some/paypal.conf'} 76 76 77 77 def test_paypal_config_singleton(self):
Note: See TracChangeset for help on using the changeset viewer.