Changeset 7649
- Timestamp:
- 14 Feb 2012, 15:00:47 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscode.py
r7321 r7649 572 572 return None, u'No AC batch available.' 573 573 rand_num = list(batch.getNewRandomNum())[0] 574 #import pdb; pdb.set_trace()575 574 num = len(batch) + 1 576 575 batch.addAccessCode(num, rand_num, owner) -
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser.py
r7488 r7649 144 144 else: 145 145 return 146 #import pdb; pdb.set_trace()147 146 if not 'entries' in form: 148 147 self.hitlist = search(query=self.searchterm, -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py
r7489 r7649 424 424 def test_after_login_default_browsable(self): 425 425 # After login we see the placeholder image in the edit view 426 #import pdb; pdb.set_trace()427 426 self.login() 428 427 self.assertEqual(self.browser.url, self.view_path) -
main/waeup.sirp/trunk/src/waeup/sirp/browser/layout.py
r7599 r7649 194 194 elif widget.__class__.__name__ == 'IntWidget': 195 195 widget.cssClass = 'span2' 196 #import pdb; pdb.set_trace()197 196 if self.widgets.get('title'): 198 197 self.widgets['title'].cssClass = 'span12' -
main/waeup.sirp/trunk/src/waeup/sirp/students/batching.py
r7643 r7649 459 459 elif 'reg_number' in row.keys() and row['reg_number']: 460 460 reg_number = row['reg_number'] 461 #import pdb; pdb.set_trace()462 461 cat = queryUtility(ICatalog, name='students_catalog') 463 462 results = list( -
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_batching.py
r7643 r7649 531 531 self.assertEqual(courseticket.passmark, 40) 532 532 self.assertEqual(courseticket.semester, 1) 533 #import pdb; pdb.set_trace()534 533 shutil.rmtree(os.path.dirname(fin_file)) 535 534 -
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r7641 r7649 1282 1282 Paid 1283 1283 </td>...''' 1284 #import pdb; pdb.set_trace()1285 1284 self.assertMatches(expected,self.browser.contents) 1286 1285 # The new CLR-0 pin has been created -
main/waeup.sirp/trunk/src/waeup/sirp/utils/batching.py
r7321 r7649 303 303 # student_ids and applicant_ids which have been 304 304 # generated in the respective __init__ methods before. 305 self.updateEntry(obj, row, site) 305 self.updateEntry(obj, row, site) 306 306 try: 307 307 self.addEntry(obj, row, site) -
main/waeup.sirp/trunk/src/waeup/sirp/utils/tests/test_converters.py
r7321 r7649 255 255 err, inv_err, data = converter.fromStringDict( 256 256 dict(birthday='1945-23-12'), contact) 257 #import pdb; pdb.set_trace()258 257 #assert data['birthday'] == datetime.date(1945, 12, 23) 259 258 assert err[0][1] =='Invalid datetime data'
Note: See TracChangeset for help on using the changeset viewer.