Small bugfixes in the wake of the cmdset changes. Resolves issue 148.

This commit is contained in:
Griatch 2011-03-20 23:14:36 +00:00
parent 9d80284504
commit 75956de7d1
3 changed files with 8 additions and 3 deletions

View file

@ -223,6 +223,7 @@ class TestPy(CommandTest):
self.execute_cmd("@py 1+2", [">>> 1+2", "<<< 3"])
class TestScripts(CommandTest):
def test_call(self):
script = create.create_script(None, "test")
self.execute_cmd("@scripts", "id")
class TestObjects(CommandTest):
def test_call(self):
@ -272,4 +273,8 @@ class TestWall(CommandTest):
# building.py command tests
class TestScript(CommandTest):
def test_call(self):
self.execute_cmd("@script TestChar = examples.bodyfunctions.BodyFunctions", "Script successfully added")
#TODO