mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
fix clothing limit test
This commit is contained in:
parent
89a45a57bb
commit
c2d1d6c405
1 changed files with 4 additions and 0 deletions
|
|
@ -86,6 +86,10 @@ class TestClothingCmd(BaseEvenniaCommandTest):
|
|||
# change the scarf to a hat for convenience
|
||||
# since the "hat" type is limited to 1 by default
|
||||
self.test_scarf.db.clothing_type = "hat"
|
||||
# move to wearer to be wearable
|
||||
self.test_scarf.location = self.wearer
|
||||
self.test_hat.location = self.wearer
|
||||
# try wearing the hat and scarf-hat
|
||||
self.call(clothing.CmdWear(), "hat", "You put on test hat.", caller=self.wearer)
|
||||
self.call(
|
||||
clothing.CmdWear(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue