More refactoring of the unittest system
This commit is contained in:
parent
7571e3606d
commit
67c4896a53
6 changed files with 8 additions and 10 deletions
|
|
@ -78,7 +78,7 @@ class CommandTest(TestCase):
|
|||
CID = 0 # we must set a different CID in every test to avoid unique-name collisions creating the objects
|
||||
def setUp(self):
|
||||
"sets up testing environment"
|
||||
print "creating player %i: %s" % (self.CID, self.__class__.__name__)
|
||||
#print "creating player %i: %s" % (self.CID, self.__class__.__name__)
|
||||
self.player = create.create_player("TestPlayer%i" % self.CID, "test@test.com", "testpassword", typeclass=TestPlayerClass)
|
||||
self.player2 = create.create_player("TestPlayer%ib" % self.CID, "test@test.com", "testpassword", typeclass=TestPlayerClass)
|
||||
self.room1 = create.create_object("src.objects.objects.Room", key="Room%i"%self.CID, nohome=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue