original_docstring: 
          Test GET request with the Flask app.test_client()
          :param endpoint: route to test (without app config preffix)
          :param mimetype_check: optional str for mimetype checking
          :param status_check: int for checking the request status_code
          :param verbose: bool for printing decoded request data
          :return: response object
          
docstring: Test GET request with the Flask app.test_client()
docstring_tokens: Test GET request with the Flask app . test_client ()
code: def endpoint_request(cls, endpoint, mimetype_check=None, status_check=200, verbose=False):
          """
          Test GET request with the Flask app.test_client()
          :param endpoint: route to test (without app config preffix)
          :param mimetype_check: optional str for mimetype checking
          :param status_check: int for checking the request status_code
          :param verbose: bool for printing decoded request data
          :return: response object
          """
          url = '{}/{}'.format(cls.url_prefix, endpoint)
          print('Testing ENDPOINT={}, URL={}'.format(endpoint, url))
          r = cls.app.get(url)
          if verbose:
              try:
                  print(r.data.decode())
              except UnicodeDecodeError as e:
                  print('UnicodeDecodeError={}, trying bytes data:'.format(e))
                  print(r.data)
          if r.status_code != status_check:  # Print info before the status code assert, for context inspection
              cls.show_context_info()
          print('headers={}\nmimetype={}'.format(r.headers, r.mimetype))
          assert r.status_code == status_check
          if mimetype_check is not None:
              assert r.mimetype == mimetype_check
          return r
code_tokens: def endpoint_request ( cls , endpoint , mimetype_check = None , status_check = 200 , verbose = False ) : url = '{}/{}' . format ( cls . url_prefix , endpoint ) print ( 'Testing ENDPOINT={}, URL={}' . format ( endpoint , url ) ) r = cls . app . get ( url ) if verbose : try : print ( r . data . decode ( ) ) except UnicodeDecodeError as e : print ( 'UnicodeDecodeError={}, trying bytes data:' . format ( e ) ) print ( r . data ) if r . status_code != status_check : cls . show_context_info ( ) print ( 'headers={}\nmimetype={}' . format ( r . headers , r . mimetype ) ) assert r . status_code == status_check if mimetype_check is not None : assert r . mimetype == mimetype_check return r
short_docstring: Test GET request with the Flask app.test_client()
short_docstring_tokens: Test GET request with the Flask app . test_client ()
comment: """
          Test GET request with the Flask app.test_client()
          :param endpoint: route to test (without app config preffix)
          :param mimetype_check: optional str for mimetype checking
          :param status_check: int for checking the request status_code
          :param verbose: bool for printing decoded request data
          :return: response object
          """$SEP$# Print info before the status code assert, for context inspection