def setUp(self): self.game_registry = GameRegistry(generate_test_db()) self.event_system = MockEventSystem() self.handler = GameHandler(self.game_registry, self.event_system)
def setUp(self): self.db = generate_test_db() self.game_registry = GameRegistry(self.db) self.handler = PlayerHandler(self.game_registry)