]> code.delx.au - pymsnt/commitdiff
Removed skipped tests
authorjamesbunton <jamesbunton@55fbd22a-6204-0410-b2f0-b6c764c7e90a>
Sat, 29 Apr 2006 13:52:22 +0000 (13:52 +0000)
committerjamesbunton <jamesbunton@55fbd22a-6204-0410-b2f0-b6c764c7e90a>
Sat, 29 Apr 2006 13:52:22 +0000 (13:52 +0000)
git-svn-id: http://delx.cjb.net/svn/pymsnt/trunk@146 55fbd22a-6204-0410-b2f0-b6c764c7e90a

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

src/tlib/msn/test_msn.py

index 3e716de71dc9be9a3fc6059ab005a5ca237c0c52..9f54c8b09d4b33f1d004d6dd6ec53375a1bdc647 100644 (file)
@@ -603,12 +603,6 @@ class FakeServerNotificationTests(unittest.TestCase):
         self.failUnless(self.loop.doSteps(10), 'Failed to disconnect')
         self.failUnless((self.client.test == 'PASS'), 'Failed to change privacy mode')
 
-    def testSyncList(self):
-        self.client.doSyncList()
-        self.failUnless(self.loop.doSteps(10), 'Failed to disconnect')
-        self.failUnless((self.client.test == 'PASS'), 'Failed to synchronise list')
-    testSyncList.skip = "Will do after list versions."
-
     def testAddContactFL(self):
         self.client.factory.contacts = msn.MSNContactList()
         self.client.doAddContactFL()
@@ -1140,30 +1134,30 @@ class SwitchboardP2PTests(unittest.TestCase):
 # MSNFTP tests #
 ################
 
-class FileTransferTestCase(unittest.TestCase):
-    """ test FileSend against FileReceive """
-    skip = "Not implemented"
-
-    def setUp(self):
-        self.input = StringIOWithoutClosing()
-        self.input.writelines(['a'] * 7000)
-        self.input.seek(0)
-        self.output = StringIOWithoutClosing()
-
-    def tearDown(self):
-        self.input = None
-        self.output = None
-
-    def testFileTransfer(self):
-        auth = 1234
-        sender = msnft.MSNFTP_FileSend(self.input)
-        sender.auth = auth
-        sender.fileSize = 7000
-        client = msnft.MSNFTP_FileReceive(auth, "foo@bar.com", self.output)
-        client.fileSize = 7000
-        loop = LoopbackCon(client, sender)
-        loop.doSteps(100)
-        self.failUnless((client.completed and sender.completed), "send failed to complete")
-        self.failUnless((self.input.getvalue() == self.output.getvalue()), "saved file does not match original")
+#class FileTransferTestCase(unittest.TestCase):
+#    """ test FileSend against FileReceive """
+#    skip = "Not implemented"
+#
+#    def setUp(self):
+#        self.input = StringIOWithoutClosing()
+#        self.input.writelines(['a'] * 7000)
+#        self.input.seek(0)
+#        self.output = StringIOWithoutClosing()
+#
+#    def tearDown(self):
+#        self.input = None
+#        self.output = None
+#
+#    def testFileTransfer(self):
+#        auth = 1234
+#        sender = msnft.MSNFTP_FileSend(self.input)
+#        sender.auth = auth
+#        sender.fileSize = 7000
+#        client = msnft.MSNFTP_FileReceive(auth, "foo@bar.com", self.output)
+#        client.fileSize = 7000
+#        loop = LoopbackCon(client, sender)
+#        loop.doSteps(100)
+#        self.failUnless((client.completed and sender.completed), "send failed to complete")
+#        self.failUnless((self.input.getvalue() == self.output.getvalue()), "saved file does not match original")