Changeset 12389 for main/ikobacustom.skeleton
- Timestamp:
- 3 Jan 2015, 21:41:55 (10 years ago)
- Location:
- main/ikobacustom.skeleton/trunk/src/ikobacustom/skeleton
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/ikobacustom.skeleton/trunk/src/ikobacustom/skeleton/customers/tests/test_browser.py
r12382 r12389 48 48 layer = FunctionalLayer 49 49 50 def setup_customizable_params(self): 51 self._contract_category = u'sample' 52 return 53 50 54 def setup_for_export(self): 51 55 customer = createObject(u'waeup.Customer') … … 213 217 layer = FunctionalLayer 214 218 219 def setup_customizable_params(self): 220 self._contract_category = u'sample' 221 self._document_factory = 'waeup.SkeletonCustomerDocument' 222 self._contract_factory = 'waeup.SkeletonContract' 223 return 224 215 225 def test_manage_upload_sample_file(self): 216 226 # Managers can upload a file via the DocumentManageFormPage … … 289 299 290 300 layer = FunctionalLayer 301 302 def setup_customizable_params(self): 303 self._contract_category = u'sample' 304 self._document_factory = 'waeup.SkeletonCustomerDocument' 305 self._contract_factory = 'waeup.SkeletonContract' 306 return 291 307 292 308 def test_view_slips(self): -
main/ikobacustom.skeleton/trunk/src/ikobacustom/skeleton/utils/utils.py
r12381 r12389 45 45 } 46 46 47 CON_CATS_DICT = { 48 'sample': 'Sample Category', 49 'license': 'License', 50 'no': 'no contract', 51 } 52 47 53 PREFERRED_LANGUAGES_DICT = { 48 54 'en':(1, u'English'),
Note: See TracChangeset for help on using the changeset viewer.