mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Enforce default_home again
This commit is contained in:
parent
a1bbb18017
commit
cd77ec0342
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue