'\'INVALID-PORT\' error should map to the L{ident.InvalidPort} exception.'

def test_invalidPortError(self):

    d = defer.Deferred()
    self.client.queries.append((d, 345, 567))
    self.client.lineReceived('345,    567    :        ERROR    :    INVALID-PORT')
    return self.assertFailure(d, ident.InvalidPort)
