#NEWLINE# def setup_basic_post_test( self , user , with_local_site , local_site_name , post_valid_data ) : #NEWLINE# #INDENT# group = self . create_review_group ( with_local_site = with_local_site ) #NEWLINE# if post_valid_data : #NEWLINE# #INDENT# post_data = { #NEWLINE# #INDENT# 'object_id' : group . name , #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# post_data = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# return ( get_watched_review_group_list_url ( user . username , local_site_name ) , watched_review_group_item_mimetype , post_data , [ group ] )