mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
API, batch: update docs and test, cleanup
This commit is contained in:
@@ -59,7 +59,7 @@ class ApiBatchTestCase( api.ApiTestCase ):
|
||||
def test_errors( self ):
|
||||
batch = [
|
||||
dict( url=self._with_key( '/api/histories/abc123' ) ),
|
||||
dict( url=self._with_key( '/api/users/123' ), method='PUT' ),
|
||||
dict( url=self._with_key( '/api/jobs' ), method='POST', body=json.dumps( dict( name='Wat' ) ) ),
|
||||
]
|
||||
response = self._post_batch( batch )
|
||||
response = response.json()
|
||||
|
||||
Reference in New Issue
Block a user