Ignore:
Timestamp:
Aug 4, 2011, 8:53:23 PM (9 years ago)
Author:
Goffi <goffi@…>
Branch:
wokkel-muc-client-support-24
Message:

Replace custom error classes by StanzaError?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wokkel/test/test_muc.py

    r137 r138  
    1818
    1919from twisted.words.protocols.jabber.xmlstream import toResponse
     20from twisted.words.protocols.jabber.error import StanzaError
    2021
    2122NS_MUC_ADMIN = 'http://jabber.org/protocol/muc#admin'
     
    158159
    159160        def cb(error):
    160             self.assertEquals('forbidden', error.value.mucCondition,
     161            self.assertEquals('forbidden', error.value.condition,
    161162                              'Wrong muc condition')
    162163
     
    186187
    187188        def cb(error):
    188             self.assertEquals('jid-malformed', error.value.mucCondition,
     189            self.assertEquals('jid-malformed', error.value.condition,
    189190                              'Wrong muc condition')
    190191
Note: See TracChangeset for help on using the changeset viewer.