'test NULL (default) security'

def test_null(self):

    server = self.socket(zmq.DEALER)
    client = self.socket(zmq.DEALER)
    self.assertEqual(client.MECHANISM, zmq.NULL)
    self.assertEqual(server.mechanism, zmq.NULL)
    self.assertEqual(client.plain_server, 0)
    self.assertEqual(server.plain_server, 0)
    iface = 'tcp://127.0.0.1'
    port = server.bind_to_random_port(iface)
    client.connect(('%s:%i' % (iface, port)))
    self.bounce(server, client, False)
