Ignore:
Timestamp:
Jan 22, 2012, 2:51:25 PM (11 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Message:

Cleanups leading up to Wokkel 0.7.0.

As we now depend on Twisted 10.0.0 or higher, the following classes and
interfaces were deprecated:

This also resolves all Pyflakes warnings, changes links for www.xmpp.org to
xmpp.org and fixes the copyright notice in LICENSE to include 2012.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wokkel/test/test_client.py

    r96 r165  
    1313from twisted.words.protocols.jabber.xmlstream import STREAM_AUTHD_EVENT
    1414from twisted.words.protocols.jabber.xmlstream import INIT_FAILED_EVENT
    15 
    16 try:
    17     from twisted.words.protocols.jabber.xmlstream import XMPPHandler
    18 except ImportError:
    19     from wokkel.subprotocols import XMPPHandler
     15from twisted.words.protocols.jabber.xmlstream import XMPPHandler
    2016
    2117from wokkel import client
    22 from wokkel.test.test_compat import BootstrapMixinTest
    2318
    2419class XMPPClientTest(unittest.TestCase):
     
    4944
    5045
    51 class DeferredClientFactoryTest(BootstrapMixinTest):
     46class DeferredClientFactoryTest(unittest.TestCase):
    5247    """
    5348    Tests for L{client.DeferredClientFactory}.
     
    10499            pass
    105100
    106         xs = self.factory.buildProtocol(None)
     101        self.factory.buildProtocol(None)
    107102        self.factory.clientConnectionFailed(self, TestException())
    108103        self.assertFailure(self.factory.deferred, TestException)
Note: See TracChangeset for help on using the changeset viewer.