1
from mago.test_suite.gnome import SeahorseTestSuite
3
class SeahorseSSH(SeahorseTestSuite):
4
def test_generate_ssh(self, description, set_up, passphrase, computer='', login=''):
6
self.application.new_ssh_key(description, set_up, passphrase, computer, login)
8
# Check that the key was successfully created
9
if self.application.assert_exists_key(description) == False:
10
raise AssertionError, "The key was not succesfully created."
13
self.application.remove_keys()
14
SeahorseTestSuite.teardown(self)