#NEWLINE# def test_status_update( self ) : #NEWLINE# #INDENT# '\n        check that a user set up with status update ability reports it as such,\n        and otherwise does not report it\n        ' #NEWLINE# for ( auth_system , auth_system_module ) in AUTH_SYSTEMS . iteritems ( ) : #NEWLINE# #INDENT# u = models . User . update_or_create ( user_type = auth_system , user_id = 'foobar_status_update' , info = { #NEWLINE# #INDENT# 'name' : 'Foo Bar Status Update' , #NEWLINE# #UNINDENT# } ) #NEWLINE# if hasattr ( auth_system_module , 'send_message' ) : #NEWLINE# #INDENT# self . assertNotEquals ( self . update_status_template , None ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . assertEquals ( u . update_status_template , None )