hvac/tests/utils.py
def do_GET(self):
        """Dispatch GET requests to associated mock GitHub 'handlers'."""
        self.send_response(200)
        self.send_header('Content-Type', 'application/json')
        self.end_headers()

        if self.path == '/user':
            self.do_user()
        elif self.path == '/user/orgs?per_page=100':
            self.do_organizations_list()
        elif self.path == '/user/teams?per_page=100':
            self.do_team_list()
        return
Dispatch GET requests to associated mock GitHub 'handlers'.
Dispatch GET requests to associated mock GitHub 'handlers'.
Dispatch GET requests to associated mock GitHub ' handlers ' .
def do_GET(self):
        self.send_response(200)
        self.send_header('Content-Type', 'application/json')
        self.end_headers()
        if self.path == '/user':
            self.do_user()
        elif self.path == '/user/orgs?per_page=100':
            self.do_organizations_list()
        elif self.path == '/user/teams?per_page=100':
            self.do_team_list()
        return
def do_GET ( self ) : self . send_response ( 200 ) self . send_header ( 'Content-Type' , 'application/json' ) self . end_headers ( ) if self . path == '/user' : self . do_user ( ) elif self . path == '/user/orgs?per_page=100' : self . do_organizations_list ( ) elif self . path == '/user/teams?per_page=100' : self . do_team_list ( ) return
Dispatch GET requests to associated mock GitHub 'handlers'.
Dispatch GET requests to associated mock GitHub ' handlers ' .
"""Dispatch GET requests to associated mock GitHub 'handlers'."""
self