Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(10) | Call(3) | Derive(2) | Import(5)
src/b/3/b3-1.9.2/b3/parsers/iourt42.py b3(Download)
import time from b3.functions import time2minutes from b3.parsers.iourt41 import Iourt41Parser import b3 from b3.clients import Client
class Iourt42Parser(Iourt41Parser): gameName = 'iourt42' _commands = {
src/b/i/big-brother-bot-HEAD/b3/parsers/iourt42.py big-brother-bot(Download)
import time from b3.functions import time2minutes from b3.parsers.iourt41 import Iourt41Parser import b3 from b3.clients import Client
class Iourt42Parser(Iourt41Parser): gameName = 'iourt42' _commands = {
src/b/i/big-brother-bot-HEAD/tests/parsers/test_iourt41.py big-brother-bot(Download)
from b3.events import Event from b3.fake import FakeClient from b3.parsers.iourt41 import Iourt41Parser log = logging.getLogger("test")
</settings> </configuration>""") self.console = Iourt41Parser(self.parser_conf) self.console.PunkBuster = None # no Punkbuster support in that game
src/b/3/b3-plugin-poweradminurt-HEAD/tests/iourt41/__init__.py b3-plugin-poweradminurt(Download)
from b3.config import XmlConfigParser from b3.fake import FakeClient from b3.parsers.iourt41 import Iourt41Parser from b3.plugins.admin import AdminPlugin
def setUp(self): # create a Iourt41 parser self.parser_conf = XmlConfigParser() self.parser_conf.loadFromString("""<configuration><settings name="server"><set name="game_log"></set></settings></configuration>""") self.console = Iourt41Parser(self.parser_conf)
src/b/3/b3-1.9.2/tests/parsers/test_iourt41.py b3(Download)
from b3.events import Event from b3.fake import FakeClient from b3.parsers.iourt41 import Iourt41Parser log = logging.getLogger("test")
</settings> </configuration>""") self.console = Iourt41Parser(self.parser_conf) self.console.PunkBuster = None # no Punkbuster support in that game