Let tests handle higher dbrefs from other dbs

This commit is contained in:
Griatch 2020-01-28 22:08:20 +01:00
parent e5ec9b0f51
commit df9461faee

View file

@ -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")