From df9461faee2cb5005b665a8921c17b9e2e045aa5 Mon Sep 17 00:00:00 2001 From: Griatch Date: Tue, 28 Jan 2020 22:08:20 +0100 Subject: [PATCH] Let tests handle higher dbrefs from other dbs --- evennia/commands/default/tests.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/evennia/commands/default/tests.py b/evennia/commands/default/tests.py index a836982899..71cf801036 100644 --- a/evennia/commands/default/tests.py +++ b/evennia/commands/default/tests.py @@ -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")