mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 12:07:17 +02:00
update container tests
This commit is contained in:
parent
4086f35f97
commit
72d2cc34ef
1 changed files with 4 additions and 1 deletions
|
|
@ -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.")
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue