def setUp(self):
    unittest.TestCase.setUp(self)
    self.tmpdir = tempfile.mkdtemp()
    self.keyfiles = {constants.SSHK_RSA: (utils.PathJoin(self.tmpdir, 'rsa.private'), utils.PathJoin(self.tmpdir, 'rsa.public')), constants.SSHK_DSA: (utils.PathJoin(self.tmpdir, 'dsa.private'), utils.PathJoin(self.tmpdir, 'dsa.public')), constants.SSHK_ECDSA: (utils.PathJoin(self.tmpdir, 'ecdsa.private'), utils.PathJoin(self.tmpdir, 'ecdsa.public'))}
def setUp(self):
    unittest.TestCase.setUp(self)
    self.tmpdir = tempfile.mkdtemp()
    self.keyfiles = {constants.SSHK_RSA: (utils.PathJoin(self.tmpdir, 'rsa.private'), utils.PathJoin(self.tmpdir, 'rsa.public')), constants.SSHK_DSA: (utils.PathJoin(self.tmpdir, 'dsa.private'), utils.PathJoin(self.tmpdir, 'dsa.public')), constants.SSHK_ECDSA: (utils.PathJoin(self.tmpdir, 'ecdsa.private'), utils.PathJoin(self.tmpdir, 'ecdsa.public'))}