Rename to get_numbered_name. Handle 'two boxes' through aliasing. Fix unittests
This commit is contained in:
parent
6182ce9c10
commit
785eb528e8
2 changed files with 28 additions and 17 deletions
|
|
@ -239,7 +239,8 @@ class TestBuilding(CommandTest):
|
|||
self.call(building.CmdExamine(), "Obj", "Name/key: Obj")
|
||||
|
||||
def test_set_obj_alias(self):
|
||||
self.call(building.CmdSetObjAlias(), "Obj = TestObj1b", "Alias(es) for 'Obj(#4)' set to testobj1b.")
|
||||
self.call(building.CmdSetObjAlias(), "Obj =", "Cleared aliases from Obj(#4)")
|
||||
self.call(building.CmdSetObjAlias(), "Obj = TestObj1b", "Alias(es) for 'Obj(#4)' set to 'testobj1b'.")
|
||||
|
||||
def test_copy(self):
|
||||
self.call(building.CmdCopy(), "Obj = TestObj2;TestObj2b, TestObj3;TestObj3b", "Copied Obj to 'TestObj3' (aliases: ['TestObj3b']")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue