Commit Graph
20 Commits
Author SHA1 Message Date
Nicola Soranzo 21b44bf348 Fix all E201 and E202 style errors
using the following command:
```
autopep8 -i -r --exclude $(sed -e 's|^|./|' -e 's|/$||' .ci/flake8_blacklist.txt | paste -sd,) --select E201,E202 .
```
2017-08-17 11:35:39 +01:00
John Chilton 1922d50f90 Increase patience of Galaxy tests throughout.
This should help reduce various API and Selenium transient failures.
2017-02-10 10:39:27 -05:00
John Chilton de35c85b65 Refactor API helpers for re-use in rest of test framework.
- Move api.helpers to base.populators.
- Refactor helper subclasses adapted to use bioblend instead of test framework stuff into base.populators for greater visibility.
- Refactor workflow format 2 testing stuff for reuse by Selenium.
2017-01-08 08:13:42 -05:00
Nicola Soranzo dcde64ce40 Fix import order. Fix typos and improve readability 2016-10-12 17:25:37 +01:00
Nicola Soranzo 1e32c0926c Fix import order and Python3 compatibility for most of test/ 2016-10-10 19:06:22 +01:00
Junzhou Wang 7d7396f18f Python3: test/api/ 2016-06-25 17:31:20 -04:00
Martin Cech ab0829f2e8 Merge pull request #1096 from jmchilton/format_2
Outline "Format 2" workflow definitions.
2015-11-20 22:05:42 -05:00
John Chilton b4c77b7617 Introduce "Format 2" workflow definitions.
This is a slight tightening up of the ad-hoc, experimental workflow YAML definition used by the test framework (and by Kyle, but lets just admit Kyle is part of Galaxy's test framework).

This format is still defined entirely client side by transcoding the YAML or python object description into real (or format 1) Galaxy workflows - so these cannot realisticaly be declared part of Galaxy's public interface and can remain experimental and subject to change.

In addition to refactoring the code implementing these workflows for upstream modifications to explore new features, the format itself has been made slightly more stringent in two ways:

 - 'steps' must now be explicit (previously converted auto-convert list to dict).
 - Ensure the workflow declared a 'class' is defined and the class is 'GalaxyWorkflow'.

This will help with discovery of workflow objects with downstream tooling (planemo for workflows?) and brings the Galaxy definition slightly more inline with the CWL definition for workflows (very slightly).
2015-11-18 10:50:43 +00:00
John Chilton 177f73fcdb Fix lower timeout caught by @nsoranzo. 2015-11-11 14:43:51 +00:00
Nicola Soranzo 3fafbb5e34 Fix more MissingToolException when running "./run_tests.sh -api" without "-with_framework_test_tools". 2015-09-15 16:47:40 +01:00
Nicola Soranzo 9805294f97 Revert "Revert "[WIP] Mega flake8 linting""
This reverts commit 37f1976d38.
2015-07-12 21:25:44 +01:00
Dannon Baker 37f1976d38 Revert "[WIP] Mega flake8 linting" 2015-07-11 13:17:38 -04:00
Bjoern Gruening eced982622 lint fixes for /test/api/ 2015-07-05 19:50:48 +01:00
John Chilton facc29e8a9 Update workflow extraction backend for output collections. 2015-01-15 09:30:00 -05:00
John Chilton c515e18fc4 Improvements to to yaml_to_workflow for Kyle.
Add UUID to workflows (his contribution) - add shortcuts for rename an hide actions with tests (his request, my implementation).
2014-12-04 16:18:20 -05:00
John Chilton 5512f531d9 Improvements to test/api/test_workflow_extraction.py.
Fill out the dataset collection parameter test and add a new test for a workflow that includes subcollection mapping. Move toward orchestrating jobs in this file via a high-level YAML description of steps and test data as well as some higher-level methods for testing various stuff about extracted workflows (step counts, input types, tools used, connected-ness, etc...).

Allow ordering jobs index API by create_time instead of update_time.
2014-12-02 22:17:25 -05:00
John Chilton 93e2389484 Introduce another helper to simplify test_workflow_extraction.py. 2014-12-01 21:18:56 -05:00
John Chilton 942cdc48b2 Simplify interface to test helper _extract_and_download_workflow.
Makes tests in this file marginally more readable.
2014-12-01 21:18:56 -05:00
John Chilton 10f62a087f Simplify new test_workflow_extraction.py.
Now makes sense to assume all tests consume a history.
2014-12-01 21:18:56 -05:00
John Chilton 9cc3ce15a1 Split all workflow extraction testing out of test/api/test_workflows.py.
test_workflows.py was pretty unwieldy and the workflow extraction tests were very different than the other tests in that file (e.g. very different helper functions).
2014-12-01 21:18:56 -05:00