#NEWLINE# def _assert_server_groups_in_use( self , project_id , user_id , in_use ) : #NEWLINE# #INDENT# ctxt = context . get_admin_context ( ) #NEWLINE# result = quota . QUOTAS . get_user_quotas ( ctxt , project_id , user_id ) #NEWLINE# self . assertEqual ( result [ 'server_groups' ] [ 'in_use' ] , in_use )