Spaces:
Running
Running
| import pytest | |
| from engine.game.game_state import initialize_game | |
| class TestVerificationBatch30: | |
| def game_state(self): | |
| gs = initialize_game(use_real_data=True) | |
| if not gs.member_db: | |
| pytest.skip("Card data not loaded") | |
| gs.active_player.tapped_energy.fill(False) | |
| return gs | |
| def get_card_id(self, gs, card_no): | |
| for cid, card in gs.member_db.items(): | |
| if card.card_no == card_no: | |
| return cid | |
| for cid, card in gs.live_db.items(): | |
| if card.card_no == card_no: | |
| return cid | |
| pytest.fail(f"Card {card_no} not found") | |
| def test_pls_pb1_008_r_smoke(self, game_state): | |
| pass | |
| def test_pls_pb1_009_pplus_smoke(self, game_state): | |
| pass | |
| def test_pls_pb1_009_r_smoke(self, game_state): | |
| pass | |
| def test_pls_pb1_010_n_vanilla(self, game_state): | |
| gs = game_state | |
| card_id = self.get_card_id(gs, "PL!S-pb1-010-N") | |
| assert card_id is not None | |
| def test_pls_pb1_011_n_vanilla(self, game_state): | |
| gs = game_state | |
| card_id = self.get_card_id(gs, "PL!S-pb1-011-N") | |
| assert card_id is not None | |
| def test_pls_pb1_012_n_vanilla(self, game_state): | |
| gs = game_state | |
| card_id = self.get_card_id(gs, "PL!S-pb1-012-N") | |
| assert card_id is not None | |