MCPcopy
hub / github.com/PokemonGoF/PokemonGo-Bot / __init__

Method __init__

tests/__init__.py:34–38  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

32
33class FakeBot(PokemonGoBot):
34 def __init__(self):
35 self.config = MagicMock(websocket_server_url=False, show_events=False)
36 self.api = FakeApi()
37 self.event_manager = EventManager()
38 self._setup_event_system()
39
40 def updateConfig(self, conf):
41 self.config.__dict__.update(conf)

Callers

nothing calls this directly

Calls 3

EventManagerClass · 0.90
FakeApiClass · 0.85
_setup_event_systemMethod · 0.80

Tested by

no test coverage detected