Update tests.py

Fix test for the new return.
This commit is contained in:
Antrare 2022-12-27 17:12:49 +11:00 committed by GitHub
parent d9b372ca85
commit c1c9a79f8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,10 @@ class TestExtendedRoom(BaseEvenniaCommandTest):
"here",
"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(
extended_room.CmdExtendedRoomLook(), "nonexistent", "Could not find 'nonexistent'."
)