コード例 #1
0
 def setUp(self):
     self.game_registry = GameRegistry(generate_test_db())
     self.event_system = MockEventSystem()
     self.handler = GameHandler(self.game_registry, self.event_system)
コード例 #2
0
 def setUp(self):
     self.db = generate_test_db()
     self.game_registry = GameRegistry(self.db)
     self.handler = PlayerHandler(self.game_registry)