Ignore:
Timestamp:
Oct 20, 2008, 9:54:28 PM (14 years ago)
Author:
Christopher Zorn <tofu@…>
Branch:
wokkel-muc-client-support-24
Convert:
svn:b33ecbfc-034c-dc11-8662-000475d9059e/branches/wokkel-muc-client-support-24@116
Message:

implement error conditions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wokkel/test/test_muc.py

    r118 r120  
    158158        return d
    159159
     160   
    160161
    161162    def test_joinRoomForbidden(self):
     
    164165
    165166        def cb(error):
    166             self.failUnless(isinstance(error.value,muc.PresenceError), 'Wrong type')
    167             self.failUnless(error.value['type']=='error', 'Not an error returned')
     167           
     168            self.failUnless(error.value.mucCondition=='forbidden','Wrong muc condition')
     169
    168170           
    169171           
Note: See TracChangeset for help on using the changeset viewer.