#NEWLINE# def test_subscribeNonExisting( self ) : #NEWLINE# #INDENT# def cb( err ) : #NEWLINE# #INDENT# self . assertEqual ( '403' , err . status ) #NEWLINE# #UNINDENT# d = self . client . subscribe ( ( 'xmpp:%s?node=test' % component ) ) #NEWLINE# self . assertFailure ( d , error . Error ) #NEWLINE# d . addCallback ( self ) #NEWLINE# return d