commit/galaxy-central: carlfeberhard: Revert return of status 201 in 578b918 as paste can't deal with that
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/e18b36121df0/ Changeset: e18b36121df0 User: carlfeberhard Date: 2014-02-10 23:45:32 Summary: Revert return of status 201 in 578b918 as paste can't deal with that Affected #: 2 files diff -r ed003906850cce820f74afa3b2ae227ae03f38aa -r e18b36121df0bcb9a30906716e5b0c8a747bd138 lib/galaxy/webapps/galaxy/api/histories.py --- a/lib/galaxy/webapps/galaxy/api/histories.py +++ b/lib/galaxy/webapps/galaxy/api/histories.py @@ -191,7 +191,6 @@ archive_source = payload[ "archive_source" ] archive_type = payload.get( "archive_type", "url" ) self.queue_history_import( trans, archive_type=archive_type, archive_source=archive_source ) - trans.response.status = 201 return {} new_history = None diff -r ed003906850cce820f74afa3b2ae227ae03f38aa -r e18b36121df0bcb9a30906716e5b0c8a747bd138 test/functional/api/test_histories.py --- a/test/functional/api/test_histories.py +++ b/test/functional/api/test_histories.py @@ -61,7 +61,7 @@ import_data = dict( archive_source=full_download_url, archive_type="url" ) import_response = self._post( "histories", data=import_data ) - self._assert_status_code_is( import_response, 201 ) + self._assert_status_code_is( import_response, 200 ) found = False while not found: time.sleep( .1 ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org