Commit Graph
6 Commits
Author SHA1 Message Date
John Chilton 285896dfe1 Increase consistency between job index and show.
Add tests for new date range and history filtering as well as to ensure only admins get to see external_id and command_line and that users cannot see each other's jobs.

Always allow admins to views all jobs on index (instead of only when user_details is specified) and show. Add user_email and external_id to show (for admins) to bring it inline with index and add command_line to index (for admins) to bring it in line with show.

Show still allow more details including job standard error and output as well as job metrics.
2014-12-18 21:50:15 -05:00
John Chilton 22819d88ce API tests for authenticate and some of users endpoints. 2014-08-04 21:45:02 -04:00
John Chilton aafe817cbf Refactor API assertions for reuse outside explicit TestCase classes. 2014-05-08 16:12:07 -05:00
John Chilton 2f775a0a9c API testing helpers to run methods as alternative users.
Previous run_as method has some potential limitations, seems testing permission/security things is more correct if actually using normal alternative user key.
2014-01-26 22:17:01 -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