mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 09:16:32 +01:00
Let tests handle higher dbrefs from other dbs
This commit is contained in:
parent
2c6405edde
commit
944cf31538
1 changed files with 6 additions and 6 deletions
|
|
@ -1060,12 +1060,12 @@ class TestBuilding(CommandTest):
|
|||
self.call(building.CmdFind(), "= #1a", "Invalid dbref range provided (not a number).")
|
||||
|
||||
# Test valid dbref ranges with no search term
|
||||
self.call(building.CmdFind(), "=#1", "7 Matches(#1-#7)")
|
||||
self.call(building.CmdFind(), "=1-2", "2 Matches(#1-#2):")
|
||||
self.call(building.CmdFind(), "=1 - 2", "2 Matches(#1-#2):")
|
||||
self.call(building.CmdFind(), "=1- #2", "2 Matches(#1-#2):")
|
||||
self.call(building.CmdFind(), "=1-#2", "2 Matches(#1-#2):")
|
||||
self.call(building.CmdFind(), "=#1-2", "2 Matches(#1-#2):")
|
||||
self.call(building.CmdFind(), "=#1", "7 Matches(#1-")
|
||||
self.call(building.CmdFind(), "=1-2", "2 Matches(#1-")
|
||||
self.call(building.CmdFind(), "=1 - 2", "2 Matches(#1-")
|
||||
self.call(building.CmdFind(), "=1- #2", "2 Matches(#1-")
|
||||
self.call(building.CmdFind(), "=1-#2", "2 Matches(#1-")
|
||||
self.call(building.CmdFind(), "=#1-2", "2 Matches(#1-")
|
||||
|
||||
def test_script(self):
|
||||
self.call(building.CmdScript(), "Obj = ", "No scripts defined on Obj")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue