Exemplo n.º 1
0
 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))
Exemplo n.º 2
0
 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))