def login_to_data(self, username, password): self._login(username, password) from portal.tests.pageObjects.portal.admin.admin_data_page import AdminDataPage return AdminDataPage(self.browser, self.live_server_url)
def go_to_admin_data_page(self): url = (self.live_server_url + reverse('aggregated_data')) self.browser.get(url) from portal.tests.pageObjects.portal.admin.admin_data_page import AdminDataPage return AdminDataPage(self.browser)