mirror of
https://github.com/evennia/evennia.git
synced 2026-03-22 07:46:30 +01:00
Let tests handle higher dbrefs from other dbs
This commit is contained in:
parent
e5ec9b0f51
commit
df9461faee
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