'Duplicated CTCP messages are ignored and no reply is made.'

def test_noDuplicateCTCPDispatch(self):

    def testCTCP(user, channel, data):
        self.called += 1
    self.called = 0
    self.client.ctcpQuery_TESTTHIS = testCTCP
    self.client.irc_PRIVMSG('foo!bar@baz.quux', ['#chan', ('%(X)sTESTTHIS%(X)sfoo%(X)sTESTTHIS%(X)s' % {'X': irc.X_DELIM})])
    self.assertEqualBufferValue(self.file.getvalue(), '')
    self.assertEqual(self.called, 1)
