Commit Graph
26 Commits
Author SHA1 Message Date
John Chilton 03303e51f2 Merged in jmchilton/galaxy-central-fork-1 (pull request #348)
Enhance workflows API to allow extracting workflow from history.
2014-03-26 16:21:15 -05:00
John Chilton 34e76f3360 Drop functional test for jobs that fails randomly. 2014-03-20 16:15:20 -05:00
John Chilton fea5843942 Add ability to extract workflow from a history to workflows API. 2014-03-17 10:44:09 -05:00
John Chilton 77a0d8f277 Start rework of API test mixin TestsDataset into an plain object.
Mirroring the newer WorkflowPopulator and LibraryPopulator.
2014-02-27 18:06:36 -06:00
John Chilton 347e4dd046 Infrastructure for library API testing.
Doesn't really test libraries extensively, but adds enough infrastructure to enable a library dataset to history copy test via API.
2014-02-27 18:06:36 -06:00
John Chilton a18dbc0a07 Initial work on test cases for history contents API. 2014-02-27 18:06:36 -06:00
John Chilton a70419971f Add functional tests for @kellrott's workflow usage additions. 2014-02-20 20:27:26 -06:00
John Chilton e7140af07a Fix failing api search test. 2014-02-20 15:18:37 -06:00
Carl Eberhard 219569de6c Revert return of status 201 in 578b918 as paste can't deal with that 2014-02-10 17:45:32 -05:00
Carl Eberhard 526c5fe06f Fix to 578b918 2014-02-10 17:25:55 -05:00
Carl Eberhard 9e1cc257e2 History API: allow copying another accessible history 2014-02-10 15:00:22 -05:00
John Chilton 3b6eb6f7a5 Workflow API functional testing - parameter replacement.
Test parameter replacement while running workflows - both by tool id (deprecated) and new post pull request #317 replacement by step id.
2014-02-02 17:54:28 -06:00
John Chilton 0fd1d64fc4 Implement history import via API. 2014-01-29 08:42:42 -06:00
John Chilton d54e836cce Implement history exporting via API.
Two new routes one that can be PUT against to poll for download_url and one to fetch a completed download via a GET. Includes simple test case. This doesn't cleanly map to REST to my mind so I have hobbled together this approach, happy for further input.

Good reading:
https://restful-api-design.readthedocs.org/en/latest/methods.html#asynchronous-requests
http://stackoverflow.com/questions/4099869/is-it-wrong-to-return-202-accepted-in-response-to-http-get
2014-01-29 08:42:42 -06:00
John Chilton 049f605d1c Add some intial functional testing of search API.
Refactored workflow creation stuff in test_workflows to allow it to be used other places (namely test_search.py). Tests searching for workflows and filtering out deleted workflows.
2014-02-01 19:53:04 -06:00
John Chilton b42e2c1e2c Improved jobs testing.
Fix bug in buildbot related to differences between local handling of list/tuple parameters and requests handling (I mostly use requests locally, but buildbot doesn't have it available). Add test that fails without @kellrott's pull request #314 (and in turn verifies it fixes a problem).
2014-01-30 22:44:10 -06:00
John Chilton af62550939 Fix for a failing API test in buildbot.
Just noticed these are actually running tonight, that is good news.
2014-01-29 00:27:30 -06:00
John Chilton fec9a4939f Merge job-search branch. 2014-01-28 23:57:46 -06:00
John Chilton 0d4b656204 Add functional tests for new jobs API. 2014-01-28 23:34:29 -06:00
John Chilton 28fa78bbc0 Workflow API tests for deletion functionality.
Various refactoring to reduce code duplication (in this and subsequent changesets).
2014-01-26 22:17:01 -06:00
John Chilton d6adb73337 Add workflow API tests.
Test import, export, index, show, run workflows, and post job actions.
2014-01-23 02:04:52 -06:00
John Chilton 7be6b9758a Functionally test various upload options via API. 2014-01-17 00:03:26 -06:00
Dannon Baker 944628f0ea Merged in jmchilton/galaxy-central-fork-1 (pull request #294)
New API Decorator
2014-01-15 08:30:38 -05:00
John Chilton 4de7fb7b1b Initial work on tools API functional tests.
Just tests some simple indexing and tool execution. Tons more one can and should test.
2014-01-13 08:58:22 -06:00
John Chilton e66768ea74 Add functional tests for pages API.
Touch up pages API in response to test cases. Update pages API to use newer API decorator.
2014-01-10 15:10:52 -06:00
John Chilton e62b2ccb56 Implement framework for testing API...
... if you can call 1 new class a framework. Includes a few test cases to exercise/drive it. These examples include a histories API test (a typical API test) and a general test of the API framework itself (mostly just the run_as functionality).

This includes changes to interactor.py to make it more useful outside the context of tool/workflow testing as well as a tweak to test Galaxy that gets started to allow testing of the run_as feature.
2014-01-10 08:45:36 -06:00