- Timestamp:
- 17 Feb 2014, 15:46:03 (11 years ago)
- Location:
- main/kofacustom.skeleton/branches/henrik-diazo-themed
- Files:
-
- 4 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.skeleton/branches/henrik-diazo-themed
- Property svn:ignore
-
old new 5 5 develop-eggs 6 6 parts 7 sources 7 8 var
-
- Property svn:ignore
-
main/kofacustom.skeleton/branches/henrik-diazo-themed/src/kofacustom/skeleton/browser/tests.py
r10765 r11109 49 49 shutil.rmtree(self.dc_root) 50 50 51 def test_custom_theme(self):52 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')53 self.browser.open('http://localhost/app/configuration')54 self.assertMatches('...Skeleton Theme...', self.browser.contents)55 self.browser.getControl(name="form.skin").value = ['custom theme']56 self.browser.getControl("Save").click()57 self.browser.open('http://localhost/app/configuration')58 return59 60 51 def test_access_live_url(self): 61 52 # We can't access the system with basic authentication -
main/kofacustom.skeleton/branches/henrik-diazo-themed/src/kofacustom/skeleton/interswitch/browser_templates/applicant_goto_interswitch.pt
r10765 r11109 71 71 <input type="hidden" name="payment_params" value="college_split" /> 72 72 <span tal:replace="structure view/xml_data"></span> 73 <br /> 73 74 74 <input type="submit" class="btn " tal:attributes="value view/submit_button"/>75 <input type="submit" class="btn btn-primary" tal:attributes="value view/submit_button"/> 75 76 76 77 </form> -
main/kofacustom.skeleton/branches/henrik-diazo-themed/src/kofacustom/skeleton/interswitch/browser_templates/student_goto_interswitch.pt
r10765 r11109 71 71 <input type="hidden" name="payment_params" value="college_split" /> 72 72 <span tal:replace="structure view/xml_data"></span> 73 <br /> 73 74 74 <input type="submit" class="btn " tal:attributes="value view/submit_button"/>75 <input type="submit" class="btn btn-primary" tal:attributes="value view/submit_button"/> 75 76 76 77 </form> -
main/kofacustom.skeleton/branches/henrik-diazo-themed/src/kofacustom/skeleton/interswitch/tests.py
r10765 r11109 17 17 ## 18 18 import os 19 from datetime import datetime, date, timedelta 19 20 from zope.component import createObject, getUtility 20 21 from zope.catalog.interfaces import ICatalog … … 172 173 def setUp(self): 173 174 super(InterswitchTestsApplicants, self).setUp() 175 configuration = SessionConfiguration() 176 configuration.academic_session = datetime.now().year - 2 177 self.app['configuration'].addSessionConfiguration(configuration) 178 self.configuration = configuration 174 179 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 175 180 self.browser.open(self.manage_path)
Note: See TracChangeset for help on using the changeset viewer.