(agent_id, error)
Sends ping to server that this was a failed test.
Sends ping to server that this was a failed test.
Sends ping to server that this was a failed test .
def _fail(agent_id, error):
        """Sends ping to server that this was a failed test."""
        request_url = os.getenv('PLAYGROUND_SERVER_URL') + '/fail_test'
        requests.post(
            request_url,
            json={
                "agent_id": agent_id,
                "error": error,
                "access": os.getenv('PLAYGROUND_GAME_MANAGER_ACCESS')
            })
def _fail ( agent_id , error ) : request_url = os . getenv ( 'PLAYGROUND_SERVER_URL' ) + '/fail_test' requests . post ( request_url , json = { "agent_id" : agent_id , "error" : error , "access" : os . getenv ( 'PLAYGROUND_GAME_MANAGER_ACCESS' ) } )