]> code.delx.au - pymsnt/commitdiff
Turn down the logging somewhat. Fixed a failing test.
authorjamesbunton <jamesbunton@55fbd22a-6204-0410-b2f0-b6c764c7e90a>
Sun, 1 Jan 2006 12:05:05 +0000 (12:05 +0000)
committerjamesbunton <jamesbunton@55fbd22a-6204-0410-b2f0-b6c764c7e90a>
Sun, 1 Jan 2006 12:05:05 +0000 (12:05 +0000)
git-svn-id: http://delx.cjb.net/svn/pymsnt/trunk@77 55fbd22a-6204-0410-b2f0-b6c764c7e90a

committer: jamesbunton <jamesbunton@55fbd22a-6204-0410-b2f0-b6c764c7e90a>

src/tlib/msn/msn.py
src/tlib/msn/test_msn.py

index 4904e04bff7e8b311e41d15db572e9f02fced6ab..a644fc78bb6528d31a8e8009c0e4143afba63d09 100644 (file)
@@ -151,7 +151,7 @@ STATUS_LUNCH   = 'LUN'
 
 PINGSPEED = 50.0
 
-DEBUGALL = True
+DEBUGALL = False
 LINEDEBUG = False
 MESSAGEDEBUG = False
 MSNP2PDEBUG = False
index 9d8fee9ccdd893101c08092b9984442e8848bf30..33a02500ea19e6ef8efc84da30ed358984fdff1d 100644 (file)
@@ -542,9 +542,8 @@ class FakeNotificationClient(msn.NotificationClient):
         d.addCallback(testcb)
 
     def doScreenNameChange(self):
-        def testcb((screenName,)):
-            if screenName == "Some new name":
-                self.test = 'PASS'
+        def testcb(*args):
+            self.test = 'PASS'
             self.transport.loseConnection()
         d = self.changeScreenName("Some new name")
         d.addCallback(testcb)