From 2772835da1723e0d3f70eee8073bd6806659bef0 Mon Sep 17 00:00:00 2001 From: zyr17 Date: Sat, 26 Aug 2023 23:48:39 +0800 Subject: [PATCH] test: fix bug in test_artifact.py --- tests/server/cards/test_artifacts.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/server/cards/test_artifacts.py b/tests/server/cards/test_artifacts.py index cca388e0..16104078 100644 --- a/tests/server/cards/test_artifacts.py +++ b/tests/server/cards/test_artifacts.py @@ -1,4 +1,6 @@ -from agents.interaction_agent import InteractionAgent +from agents.interaction_agent import ( + InteractionAgent_V1_0 as InteractionAgent +) from agents.nothing_agent import NothingAgent from server.match import Match, MatchState from server.deck import Deck @@ -11,6 +13,7 @@ def test_small_elemental_artifacts(): agent_0 = NothingAgent(player_id = 0) agent_1 = InteractionAgent( + version = '1.0', player_id = 1, verbose_level = 0, commands = [