Changeset 157:2b80688b5688 for wokkel


Ignore:
Timestamp:
Nov 14, 2011, 5:38:36 PM (8 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
wokkel-muc-client-support-24
Message:

Pyflakes cleanups.

Location:
wokkel/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wokkel/test/helpers.py

    r147 r157  
    66"""
    77
    8 from twisted.internet import defer, task
     8from twisted.internet import defer
    99from twisted.words.xish import xpath
    1010from twisted.words.xish.utility import EventDispatcher
  • wokkel/test/test_muc.py

    r153 r157  
    136136                      to='hag66@shakespeare.lit/pda'>
    137137              <x xmlns='http://jabber.org/protocol/muc#user'>
    138                 <child xmlns='myns'/>
     138                <status xmlns='myns' code='110'/>
    139139              </x>
    140140            </presence>
     
    143143        element = parseXml(xml)
    144144        presence = muc.UserPresence.fromElement(element)
     145
     146        self.assertIdentical(None, presence.statusCodes)
    145147
    146148
     
    16601662        self.stub.send(parseXml(xml))
    16611663
    1662         room = self.protocol._getRoom(self.roomJID)
    1663 
    16641664        # send back error presence, nick conflicted
    16651665        xml = u"""
Note: See TracChangeset for help on using the changeset viewer.