Skip to content

Commit c1faa71

Browse files
committed
fix dungeon test
1 parent 69d65f8 commit c1faa71

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/test_dungeon.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,14 @@ def test_dungeon_entrance(self):
137137
short_descr="A dark entrance",
138138
target_location=location,
139139
)
140-
entrance.bind(location)
140+
location.add_exits([entrance])
141141

142142
dungeon_config = DungeonConfig(
143143
name="A dark entrance",
144144
description="A dark entrance to a dungeon.",
145+
races=["goblin", "skeleton"],
146+
items=["potion", "gold"],
147+
max_depth=5
145148
)
146149

147150
dungeon = entrance.build_dungeon(self.story, self.llm_util, dungeon_config)

0 commit comments

Comments
 (0)