Changeset 5684 for main/waeup.sirp/trunk/src
- Timestamp:
- 26 Jan 2011, 11:52:35 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/root.py
r5676 r5684 84 84 """ 85 85 app_folder = site.get('applicants', None) 86 site_name = getattr(site, '__name__', ' Unnamed Site?')86 site_name = getattr(site, '__name__', '<Unnamed Site>') 87 87 if IApplicantsRoot.providedBy(app_folder): 88 88 # Applicants up to date. Return. -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_root.py
r5676 r5684 99 99 self.assertTrue('applicants' in site.keys()) 100 100 log = self.get_log() 101 self.assertTrue('Updating site at Unnamed Site' in log)101 self.assertTrue('Updating site at <Unnamed Site>' in log) 102 102 self.assertTrue('Installed applicants root.' in log) 103 103 return … … 114 114 log = self.get_log() 115 115 self.assertTrue('Outdated applicants folder detected' in log) 116 self.assertTrue('Updating site at Unnamed Site' in log)116 self.assertTrue('Updating site at <Unnamed Site>' in log) 117 117 self.assertTrue('Installed applicants root.' in log) 118 118 return … … 127 127 self.assertTrue(site['applicants'] is root) 128 128 log = self.get_log() 129 self.assertTrue('Updating site at Unnamed Site' in log)129 self.assertTrue('Updating site at <Unnamed Site>' in log) 130 130 self.assertTrue('Nothing to do' in log) 131 131 return
Note: See TracChangeset for help on using the changeset viewer.