'irc_PART'

def test_PART(self):

    self.ircUser.irc_NICK('testuser', ['mynick'])
    response = self.response()
    self.ircUser.transport.clear()
    self.assertEqual(response[0][1], irc.RPL_MOTDSTART)
    self.ircUser.irc_JOIN('testuser', ['somechannel'])
    response = self.response()
    self.ircUser.transport.clear()
    self.assertEqual(response[0][1], irc.ERR_NOSUCHCHANNEL)
    self.ircUser.irc_PART('testuser', ['somechannel', 'booga'])
    response = self.response()
    self.ircUser.transport.clear()
    self.assertEqual(response[0][1], irc.ERR_NOTONCHANNEL)
    self.ircUser.irc_PART('testuser', [u'somechannel', u'booga'])
    response = self.response()
    self.ircUser.transport.clear()
    self.assertEqual(response[0][1], irc.ERR_NOTONCHANNEL)
