def test_can_create_credentials_for_specified_deployment_user_ssh_id(self): """fab.tests.config.rsr.credentials.user_credentials_test Can create credentials for a given deployment user's SSH ID""" self.assertEqual( UserCredentials(User.DEPLOYER, SudoPassword.NONE, SSHIDPath.DEFAULT), UserCredentials.for_deployer_with_ssh_id(SSHIDPath.DEFAULT))
def create(): return UserCredentials.for_deployer_with_ssh_id(SSHIDPath.DEPLOYER)
def test_can_create_credentials_for_specified_deployment_user_ssh_id(self): """fab.tests.config.rsr.credentials.user_credentials_test Can create credentials for a given deployment user's SSH ID""" self.assertEqual(UserCredentials(User.DEPLOYER, SudoPassword.NONE, SSHIDPath.DEFAULT), UserCredentials.for_deployer_with_ssh_id(SSHIDPath.DEFAULT))