evennia.contrib.grid.extended_room.tests¶
Testing of ExtendedRoom contrib
- class evennia.contrib.grid.extended_room.tests.TestExtendedRoom(methodName='runTest')[source]¶
Bases:
EvenniaTestCaseTest Extended Room typeclass.
- base_room_desc = 'Base room description.'¶
- test_seasonal_room_descriptions = None¶
- test_get_time_of_day_tags = None¶
- test_get_time_of_day_tags_0_morning(**kw)¶
Test room with $ [with *args=(‘morning’, ‘Morning room description.’)]
- test_get_time_of_day_tags_1_afternoon(**kw)¶
Test room with $ [with *args=(‘afternoon’, ‘Afternoon room description.’)]
- test_get_time_of_day_tags_2_evening(**kw)¶
Test room with $ [with *args=(‘evening’, ‘Evening room description.’)]
- test_get_time_of_day_tags_3_night(**kw)¶
Test room with $ [with *args=(‘night’, ‘Night room description.’)]
- test_seasonal_room_descriptions_0_spring(**kw)¶
Test that the room description changes with the season [with *args=(‘spring’, ‘Spring room description.’)].
- test_seasonal_room_descriptions_1_summer(**kw)¶
Test that the room description changes with the season [with *args=(‘summer’, ‘Summer room description.’)].
- class evennia.contrib.grid.extended_room.tests.TestExtendedRoomCommands(methodName='runTest')[source]¶
Bases:
BaseEvenniaCommandTestTest the ExtendedRoom commands.
- base_room_desc = 'Base room description.'¶