#NEWLINE# def test_get_with_q( self ) : #NEWLINE# #INDENT# 'Testing the GET groups/?q= API' #NEWLINE# self . create_review_group ( name = 'docgroup' ) #NEWLINE# self . create_review_group ( name = 'devgroup' ) #NEWLINE# rsp = self . api_get ( get_review_group_list_url ( ) , { #NEWLINE# #INDENT# 'q' : 'dev' , #NEWLINE# #UNINDENT# } , expected_mimetype = review_group_list_mimetype ) #NEWLINE# self . assertEqual ( rsp [ 'stat' ] , 'ok' ) #NEWLINE# self . assertEqual ( len ( rsp [ 'groups' ] ) , 1 )