Example #1
0
 def addAdvisors(browser, username, advisors, state=None, date=None):
     browser.open('http://localhost/persons/%s/advisors.html' % username)
     add_temporal_relationship(browser, advisors, state, date)
Example #2
0
 def addStudents(browser, schoolyear, term, section, students,
                 state=None, date=None):
     browser.ui.section.go(schoolyear, term, section)
     selector = '//a[@title="Edit students for this section"]'
     browser.query.xpath(selector).click()
     add_temporal_relationship(browser, students, state, date)
Example #3
0
 def addMembers(browser, schoolyear, group, members,
                state=None, date=None):
     browser.ui.group.go(schoolyear, group)
     selector = '//a[@title="Edit members for this group"]'
     browser.query.xpath(selector).click()
     add_temporal_relationship(browser, members, state, date)
Example #4
0
 def addMembers(browser, schoolyear, group, members, state=None, date=None):
     browser.ui.group.go(schoolyear, group)
     selector = '//a[@title="Edit members for this group"]'
     browser.query.xpath(selector).click()
     add_temporal_relationship(browser, members, state, date)