Missed one hardcoded id in unit test

This commit is contained in:
Griatch 2023-06-07 16:35:55 +02:00
parent d3c4db2e02
commit 6100feb315

View file

@ -217,7 +217,7 @@ Base room description.
extended_room.CmdExtendedRoomDesc(), extended_room.CmdExtendedRoomDesc(),
"", "",
""" """
Room Room(#1) Season: autumn. Time: afternoon. States: None Room Room(#{self.room1.id}) Season: autumn. Time: afternoon. States: None
Room state spring: Room state spring:
Spring description. Spring description.
@ -234,10 +234,8 @@ Base room description.
self.call( self.call(
extended_room.CmdExtendedRoomDesc(), extended_room.CmdExtendedRoomDesc(),
"/del/burning/spring", "/del/burning/spring",
( "The burning-description was deleted, if it existed.|The spring-description was"
"The burning-description was deleted, if it existed.|The spring-description was" " deleted, if it existed",
" deleted, if it existed"
),
) )
# add autumn, which should be active # add autumn, which should be active
self.call( self.call(
@ -324,10 +322,8 @@ The room Room(#{self.room1.id}) doesn't have any details.
self.call( self.call(
extended_room.CmdExtendedRoomState(), extended_room.CmdExtendedRoomState(),
"", "",
( f"Room states (not counting automatic time/season) on Room(#{self.room1.id}):\n "
f"Room states (not counting automatic time/season) on Room(#{self.room1.id}):\n " "'burning' and 'windy'",
"'burning' and 'windy'"
),
) )
# toggle windy # toggle windy
self.call( self.call(
@ -338,10 +334,8 @@ The room Room(#{self.room1.id}) doesn't have any details.
self.call( self.call(
extended_room.CmdExtendedRoomState(), extended_room.CmdExtendedRoomState(),
"", "",
( f"Room states (not counting automatic time/season) on Room(#{self.room1.id}):\n "
f"Room states (not counting automatic time/season) on Room(#{self.room1.id}):\n " "'burning'",
"'burning'"
),
) )
# add a autumn state and make sure we override it # add a autumn state and make sure we override it
self.room1.add_desc("Autumn description.", room_state="autumn") self.room1.add_desc("Autumn description.", room_state="autumn")
@ -392,17 +386,13 @@ The room Room(#{self.room1.id}) doesn't have any details.
self.call( self.call(
extended_room.CmdExtendedRoomLook(), extended_room.CmdExtendedRoomLook(),
"", "",
( f"Room(#{self.room1.id})\nThis is a nice autumnal forest. The afternoon sun is"
f"Room(#{self.room1.id})\nThis is a nice autumnal forest. The afternoon sun is" " shining through the trees.",
" shining through the trees."
),
) )
self.room1.add_room_state("burning") self.room1.add_room_state("burning")
self.call( self.call(
extended_room.CmdExtendedRoomLook(), extended_room.CmdExtendedRoomLook(),
"", "",
( f"Room(#{self.room1.id})\nThis is a nice autumnal forest. The afternoon sun is"
f"Room(#{self.room1.id})\nThis is a nice autumnal forest. The afternoon sun is" " shining through the trees and this place is on fire!",
" shining through the trees and this place is on fire!"
),
) )