'IRCClient breaks on newlines before it breaks long lines.'

def test_newlinesBeforeLineBreaking(self):

    longline = ('o' * (irc.MAX_COMMAND_LENGTH // 2))
    self.client.msg('foo', ((longline + '\n') + longline))
    self.assertEqual(self.client.lines, [('PRIVMSG    foo    :' + longline), ('PRIVMSG    foo    :' + longline)])
