def setUp(self):
        super(TestKeypairShow, self).setUp()

        self.keypairs_mock.get.return_value = self.keypair

        self.cmd = keypair.ShowKeypair(self.app, None)

        self.columns = ("fingerprint", "name", "user_id")

        self.data = (self.keypair.fingerprint, self.keypair.name,
                     self.keypair.user_id)
    def setUp(self):
        super(TestKeypairShow, self).setUp()

        self.sdk_client.find_keypair.return_value = self.keypair

        self.cmd = keypair.ShowKeypair(self.app, None)

        self.columns = ("fingerprint", "name", "type", "user_id")

        self.data = (self.keypair.fingerprint, self.keypair.name,
                     self.keypair.type, self.keypair.user_id)