Made test running environment more robust and consistent.

This commit is contained in:
Jonathan Piacenti 2014-11-04 20:23:46 -06:00
parent b106e7418a
commit 52fa4dd60b
10 changed files with 291 additions and 172 deletions

View file

@ -0,0 +1 @@
from objects import DefaultObject, DefaultRoom, DefaultExit, DefaultCharacter

View file

@ -1217,10 +1217,10 @@ class DefaultObject(ObjectDB):
else:
things.append(key)
# get description, build string
string = "{c%s{n" % self.key
string = "{c%s{n\n" % self.key
desc = self.db.desc
if desc:
string += "\n %s" % desc
string += "%s" % desc
if exits:
string += "\n{wExits:{n " + ", ".join(exits)
if users or things: