mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix unit tests
This commit is contained in:
parent
b5571fb5fd
commit
1f5fe9f1c3
2 changed files with 6 additions and 5 deletions
|
|
@ -7,6 +7,7 @@
|
|||
adding line breaks in hook returns. (InspectorCaracal)
|
||||
- [Fix][pull3446]: Use plural ('no apples') instead of singular ('no apple') in
|
||||
`get_numbered_name` for better grammatical form (InspectorCaracal)
|
||||
- Doc: Added Beginner Tutorial lessons for AI and Procedural dungeon (Griatch)
|
||||
- Doc fixes (Griatch, InspectorCaracal)
|
||||
|
||||
[pull3421]: https://github.com/evennia/evennia/pull/3421
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
Test Dungeon orchestrator / procedurally generated dungeon rooms.
|
||||
Test Dungeon branch / procedurally generated dungeon rooms.
|
||||
|
||||
"""
|
||||
|
||||
|
|
@ -73,10 +73,10 @@ class TestDungeon(EvAdventureMixin, BaseEvenniaTest):
|
|||
self.assertNotEqual(self.start_room, new_room_north)
|
||||
self.assertTrue(inherits_from(new_room_north, dungeon.EvAdventureDungeonRoom))
|
||||
|
||||
# check if Orchestrator was created
|
||||
orchestrator = new_room_north.db.dungeon_orchestrator
|
||||
self.assertTrue(bool(orchestrator))
|
||||
self.assertTrue(orchestrator.key.startswith("dungeon_orchestrator_north_"))
|
||||
# check if Dungeon Branch was created
|
||||
branch = new_room_north.db.dungeon_branch
|
||||
self.assertTrue(bool(branch))
|
||||
self.assertTrue(branch.key.startswith("dungeon_branch_north_"))
|
||||
|
||||
def test_different_start_directions(self):
|
||||
# first go north, this should generate a new room
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue