':py:obj:`Connection.get_cipher_version` returns a :py:class:`unicode`
string giving the protocol name of the currently used cipher.'

def test_get_cipher_version(self):

    (server, client) = self._loopback()
    (server_cipher_version, client_cipher_version) = (server.get_cipher_version(), client.get_cipher_version())
    self.assertIsInstance(server_cipher_version, text_type)
    self.assertIsInstance(client_cipher_version, text_type)
    self.assertEqual(server_cipher_version, client_cipher_version)
