#NEWLINE# def test_group_get_by_gid_not_found( self ) : #NEWLINE# #INDENT# user_id = 'user_id_01' #NEWLINE# ctext = context . RequestContext ( user_id = user_id , project_id = user_id ) #NEWLINE# gid = '00000000-0000-0000-0000-000000000010' #NEWLINE# status_code = 200 #NEWLINE# try : #NEWLINE# #INDENT# db . group_get_by_gid ( ctext , user_id ) #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# status_code = e . code #NEWLINE# #UNINDENT# self . assertEqual ( status_code , 404 )