Enforce default_home again

This commit is contained in:
ChrisLR 2022-01-19 13:01:30 -05:00
parent a1bbb18017
commit cd77ec0342

View file

@ -1405,6 +1405,7 @@ class TestBuilding(EvenniaCommandTest):
"Could not find 'Obj'.| (Objects to destroy "
"must either be local or specified with a unique #dbref.)",
)
settings.DEFAULT_HOME = f"#{self.room1.dbid}"
self.call(
building.CmdDestroy(), settings.DEFAULT_HOME, "You are trying to delete"
) # DEFAULT_HOME should not be deleted