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

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

src/b/3/b3-1.9.2/tests/plugins/test_censor.py   b3(Download)
 
import b3
from b3.plugins.censor import CensorPlugin
from b3.config import XmlConfigParser
 
    def init_plugin(self, config_content):
        self.conf = XmlConfigParser()
        self.conf.setXml(config_content)
        self.p = CensorPlugin(self.console, self.conf)
 

src/b/i/big-brother-bot-HEAD/tests/plugins/test_censor.py   big-brother-bot(Download)
 
import b3
from b3.plugins.censor import CensorPlugin
from b3.config import XmlConfigParser
 
    def init_plugin(self, config_content):
        self.conf = XmlConfigParser()
        self.conf.setXml(config_content)
        self.p = CensorPlugin(self.console, self.conf)