Skip to content

Instantly share code, notes, and snippets.

@leto
Created December 30, 2013 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leto/839334db94e167855dbf to your computer and use it in GitHub Desktop.
Save leto/839334db94e167855dbf to your computer and use it in GitHub Desktop.
$ VERBOSE_TESTING=1 python test_valid_study_put.py
testing-harness: Sent PUT to http://ec2-54-203-170-250.us-west-2.compute.amazonaws.com/api/v1/study/1003
testing-harness: Full response: {"description": "Could not pull latest leto_study_1003 branch from originssh ! Details: \n\n\n RAN: '/usr/bin/git pull originssh leto_study_1003'\n\n STDOUT:\n\n\n STDERR:\nFrom github.com:OpenTreeOfLife/treenexus\n * branch leto_study_1003 -> FETCH_HEAD\n\n*** Please tell me who you are.\n\nRun\n\n git config --global user.email \"you@example.com\"\n git config --global user.name \"Your Name\"\n\nto set your account's default identity.\nOmit --global to set the identity only in this repository.\n\nfatal: empty ident <opentree@ip-10-227-31-54.us-west-2.compute.internal> not allowed\n", "error": 1}
Traceback (most recent call last):
File "test_valid_study_put.py", line 35, in <module>
expected_status=200):
File "/Users/jleto/git/opentree/api.opentreeoflife.org/ws-tests/opentreetesting.py", line 104, in test_http_json_method
resp.raise_for_status()
File "/Library/Python/2.7/site-packages/requests/models.py", line 683, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: BAD REQUEST
@jimallman
Copy link

{"description": "Could not push deletion of study #10. Details:\n \n\n RAN: '/usr/bin/git push originssh jimallman_study_10'\n\n STDOUT:\n\n\n STDERR:\nERROR: Permission to OpenTreeOfLife/treenexus_test.git denied to OpenTreeOfLife/treenexus.\nfatal: The remote end hung up unexpectedly\n", "error": 1}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment