aboutsummaryrefslogtreecommitdiff
path: root/bot
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2011-06-16 17:18:53 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2011-06-16 17:18:53 +0200
commit818179e3145fba21c48a56b0e85cca93e0ddd59d (patch)
treeb8780173f1e24bc2c093152474933ff95ddc4b2d /bot
parentAdd #option list command (diff)
downloadcouncil-webapp-818179e3145fba21c48a56b0e85cca93e0ddd59d.tar.gz
council-webapp-818179e3145fba21c48a56b0e85cca93e0ddd59d.tar.bz2
council-webapp-818179e3145fba21c48a56b0e85cca93e0ddd59d.zip
Fix TestMeeting class
Diffstat (limited to 'bot')
-rw-r--r--bot/tests/test_meeting.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/tests/test_meeting.py b/bot/tests/test_meeting.py
index 78bd2dc..238ba2f 100644
--- a/bot/tests/test_meeting.py
+++ b/bot/tests/test_meeting.py
@@ -5,13 +5,13 @@ import time
class TestMeeting:
logline_re = re.compile(r'\[?([0-9: ]*)\]? *<[@+]?([^>]+)> *(.*)')
loglineAction_re = re.compile(r'\[?([0-9: ]*)\]? *\* *([^ ]+) *(.*)')
- M = meeting.process_meeting(contents = '',
- channel = "#none", filename = '/dev/null',
- dontSave = True, safeMode = False,
- extraConfig = {})
log = []
def __init__(self):
+ self.M = meeting.process_meeting(contents = '',
+ channel = "#none", filename = '/dev/null',
+ dontSave = True, safeMode = False,
+ extraConfig = {})
self.M._sendReply = lambda x: self.log.append(x)
self.M.starttime = time.gmtime(0)