Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/l/a/lalita-0.1.1/lalita/ircbot.py   lalita(Download)
        msg = msg.decode(encoding)
        user = user.split('!', 1)[0]
        self.dispatcher.push(events.ACTION, user, channel, msg)
 
    # irc callbacks

src/l/a/lalita-0.1.1/lalita/core/tests/test_events.py   lalita(Download)
    def test_action(self):
        '''Calling bot.action'''
        bot.action("user!foo!bar", "chnl", "blah")
        self.check_pushed(events.ACTION, "user", "chnl", "blah")
        return self.deferred

src/l/a/lalita-0.1.1/lalita/core/tests/test_dispatcher.py   lalita(Download)
        self.helper.test = test
 
        self.disp.register(events.ACTION, self.helper.f)
        self.disp.push(events.ACTION, "user", "channel", "msg")
        return self.deferred