update container tests

This commit is contained in:
InspectorCaracal 2023-06-10 16:32:04 -06:00 committed by GitHub
parent 4086f35f97
commit 72d2cc34ef

View file

@ -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.")