Changeset 15249 for main/waeup.uniben/trunk/src/waeup/uniben/hostels
- Timestamp:
- 21 Nov 2018, 08:06:54 (6 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/hostels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/hostels/browser.py
r13324 r15249 41 41 msg = "'All expired bed space allocations will be annulled. " + \ 42 42 "Are you sure? \\n\\n" + \ 43 "Bed space allocation expires four ( 4) days after accommodation " + \43 "Bed space allocation expires four (7) days after accommodation " + \ 44 44 "booking if maintenance fee is not paid.'" 45 45 return "return window.confirm(%s);" % msg … … 51 51 52 52 def update(self): 53 super(CustomReleaseExpiredAllocationsPage, self).update( 4)53 super(CustomReleaseExpiredAllocationsPage, self).update(7) 54 54 return -
main/waeup.uniben/trunk/src/waeup/uniben/hostels/tests.py
r13550 r15249 53 53 self.browser.open(self.container_path + '/releaseexpired') 54 54 self.assertTrue('No bed released' in self.browser.contents) 55 delta = timedelta(days= 5) # 4days expiration time span in Uniben55 delta = timedelta(days=8) # 7 days expiration time span in Uniben 56 56 bedticket.booking_date = datetime.utcnow() - delta 57 57 self.browser.open(self.container_path + '/releaseexpired')
Note: See TracChangeset for help on using the changeset viewer.