コード例 #1
0
 def go_to_admin_map_page_failure(self):
     self._go_to_admin_map_page()
     return ForbiddenPage(self.browser)
コード例 #2
0
    def login_to_forbidden(self, username, password):
        self._login(username, password)

        from portal.tests.pageObjects.portal.forbidden_page import ForbiddenPage
        return ForbiddenPage(self.browser)
コード例 #3
0
    def go_to_admin_data_page_failure(self):
        url = (self.live_server_url + reverse('aggregated_data'))
        self.browser.get(url)

        return ForbiddenPage(self.browser)