Implemented unittests for all default commands in a new and much faster way.

This commit is contained in:
Griatch 2013-05-12 19:53:19 +02:00
parent a6840aff15
commit bd9421d4b0
9 changed files with 133 additions and 528 deletions

View file

@ -610,6 +610,7 @@ class Channel(SharedMemoryModel):
"Connect the user to this channel"
if not self.access(player, 'listen'):
return False
player = player.dbobj
conn = PlayerChannelConnection.objects.create_connection(player, self)
if conn:
return True