From 72d2cc34ef737626e8b1c30528d1c7aaa9d47e78 Mon Sep 17 00:00:00 2001 From: InspectorCaracal <51038201+InspectorCaracal@users.noreply.github.com> Date: Sat, 10 Jun 2023 16:32:04 -0600 Subject: [PATCH] update container tests --- evennia/contrib/game_systems/containers/tests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/evennia/contrib/game_systems/containers/tests.py b/evennia/contrib/game_systems/containers/tests.py index aab8f631b2..ded594708e 100644 --- a/evennia/contrib/game_systems/containers/tests.py +++ b/evennia/contrib/game_systems/containers/tests.py @@ -31,6 +31,9 @@ class TestContainerCmds(BaseEvenniaCommandTest): # move it into a non-container object and look at it there too self.obj1.location = self.obj2 self.call(CmdContainerLook(), "obj in obj2", "Obj") + # make sure normal looking works too + self.call(CmdContainerLook(), "obj2", "Obj2") + self.call(CmdContainerLook(), "", "Room") def test_get_and_put(self): # get normally @@ -59,4 +62,4 @@ class TestContainerCmds(BaseEvenniaCommandTest): self.obj1.location = self.char1 self.call(CmdPut(), "obj in box", "You can't fit anything else in a Box.") - \ No newline at end of file +