#NEWLINE# def test_add_policy_error( self ) : #NEWLINE# #INDENT# self . mox . ReplayAll ( ) #NEWLINE# q = ProxyQueue ( self . relay ) #NEWLINE# with self . assertRaises ( NotImplementedError ) : #NEWLINE# #INDENT# q . add_policy ( 'test' )