Update tests.py
Fix test for the new return.
This commit is contained in:
parent
cd4a6121ea
commit
b7d8c1e2e0
1 changed files with 4 additions and 1 deletions
|
|
@ -63,7 +63,10 @@ class TestExtendedRoom(BaseEvenniaCommandTest):
|
||||||
"here",
|
"here",
|
||||||
"Room(#{})\n{}".format(rid, self.SPRING_DESC),
|
"Room(#{})\n{}".format(rid, self.SPRING_DESC),
|
||||||
)
|
)
|
||||||
self.call(extended_room.CmdExtendedRoomLook(), "testdetail", self.DETAIL_DESC)
|
self.call(
|
||||||
|
extended_room.CmdExtendedRoomLook(),
|
||||||
|
"testdetail",
|
||||||
|
"You look closely at the {}.\n|{}".format("testdetail", self.DETAIL_DESC)
|
||||||
self.call(
|
self.call(
|
||||||
extended_room.CmdExtendedRoomLook(), "nonexistent", "Could not find 'nonexistent'."
|
extended_room.CmdExtendedRoomLook(), "nonexistent", "Could not find 'nonexistent'."
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue