def test_get_ssh_key(self): dashboard_page = DashboardPage(self.client) ssh_key = dashboard_page.get_ssh_key() match_string = "BEGIN RSA PRIVATE KEY" self.assertTrue(re.search(match_string, ssh_key))
def test_get_ssh_key(self): dashboard_page = DashboardPage(self.client) ssh_key = dashboard_page.get_ssh_key() match_string = "BEGIN RSA PRIVATE KEY" self.assertTrue(re.search(match_string, ssh_key))