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

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

src/b/3/b3-1.9.2/b3/fake.py   b3(Download)
print "creating fakeAdminPlugin with @b3/conf/plugin_admin.xml"
fakeAdminPlugin = AdminPlugin(fakeConsole, '@b3/conf/plugin_admin.xml')
fakeAdminPlugin.onStartup()
 
joe = FakeClient(fakeConsole, name="Joe", exactName="Joe", guid="zaerezarezar", groupBits=1, team=b3.TEAM_UNKNOWN)

src/b/i/big-brother-bot-HEAD/b3/fake.py   big-brother-bot(Download)
print "creating fakeAdminPlugin with @b3/conf/plugin_admin.xml"
fakeAdminPlugin = AdminPlugin(fakeConsole, '@b3/conf/plugin_admin.xml')
fakeAdminPlugin.onStartup()
 
joe = FakeClient(fakeConsole, name="Joe", exactName="Joe", guid="zaerezarezar", groupBits=1, team=b3.TEAM_UNKNOWN)

src/b/i/big-brother-bot-HEAD/tests/plugins/test_tk_functional.py   big-brother-bot(Download)
        when(self.console).getPlugin("admin").thenReturn(self.adminPlugin)
        self.adminPlugin.onLoadConfig()
        self.adminPlugin.onStartup()
 
        self.conf = XmlConfigParser()

src/b/i/big-brother-bot-HEAD/tests/plugins/test_spamcontrol.py   big-brother-bot(Download)
        when(self.console).getPlugin("admin").thenReturn(self.adminPlugin)
        self.adminPlugin.onLoadConfig()
        self.adminPlugin.onStartup()
 
        with open(SPAMCONTROM_CONFIG_FILE) as default_conf:

src/b/i/big-brother-bot-HEAD/tests/plugins/test_login.py   big-brother-bot(Download)
        when(self.console).getPlugin("admin").thenReturn(self.adminPlugin)
        self.adminPlugin.onLoadConfig()
        self.adminPlugin.onStartup()
 
        self.console.gameName = "theGame"

src/b/i/big-brother-bot-HEAD/tests/plugins/test_adv.py   big-brother-bot(Download)
        when(self.console).getPlugin("admin").thenReturn(self.adminPlugin)
        self.adminPlugin.onLoadConfig()
        self.adminPlugin.onStartup()
 
        self.console.startup()

src/b/i/big-brother-bot-HEAD/tests/parsers/test_ravaged.py   big-brother-bot(Download)
        when(self.parser).getPlugin("admin").thenReturn(self.adminPlugin)
        self.adminPlugin.onLoadConfig()
        self.adminPlugin.onStartup()
 
        self.parser.startup()

src/b/i/big-brother-bot-HEAD/tests/parsers/test_bf3.py   big-brother-bot(Download)
        self.adminPlugin = AdminPlugin(self.console, admin_config)
        self.adminPlugin.onLoadConfig()
        self.adminPlugin.onStartup()
        when(self.console).getPlugin('admin').thenReturn(self.adminPlugin)
 

src/b/3/b3-plugin-poweradminbf3-HEAD/tests/__init__.py   b3-plugin-poweradminbf3(Download)
        with logging_disabled():
            self.adminPlugin = AdminPlugin(self.console, admin_plugin_conf_file)
            self.adminPlugin.onStartup()
 
        # make sure the admin plugin obtained by other plugins is our admin plugin

src/b/3/b3-plugin-poweradminurt-HEAD/tests/iourt42/__init__.py   b3-plugin-poweradminurt(Download)
        # load the admin plugin
        self.adminPlugin = AdminPlugin(self.console, '@b3/conf/plugin_admin.xml')
        self.adminPlugin.onStartup()
 
        # make sure the admin plugin obtained by other plugins is our admin plugin

  1 | 2  Next