Commit Graph
20 Commits
Author SHA1 Message Date
Nicola Soranzo e975ca3754 Update to black 2024 stable style 2024-01-30 18:09:51 +00:00
Michael R. Crusoe 75ba9cfd13 Even more typing 2022-11-28 04:50:00 +00:00
Nicola Soranzo 5ca0aea54a Drop nose
It's deprecated and unmaintained, and is broken under Python 3.10 .
2022-11-01 18:45:07 +00:00
Nicola Soranzo c35d8f2a06 Replace `unittest.TestCase` with pytest-based partial re-implementation
Also:
- Rename `FooBarTestCase` test classes as `TestFooBar`. These were collected
  by pytest only because they were `unittest.TestCase` derived, but normally
  pytest collects only test classes whose name starts with `Test`, see
  https://docs.pytest.org/en/7.1.x/reference/reference.html#confval-python_classes
2022-09-27 03:34:58 +01:00
Nicola Soranzo 3091737ab9 Misc test fixes 2022-09-27 03:34:55 +01:00
Nicola Soranzo 7466ab89a6 Move `uses_shed.py to galaxy_test.driver`
to break circular dependency between galaxy-test-base and
galaxy-test-driver packages.

Also:
- Use f-string.
2022-06-28 18:33:05 +01:00
Dannon Baker 623a5e165a Apply black formatting.
Apply isort.
2022-02-03 07:42:20 -05:00
mvdbeek f0baddd905 Merge branch 'release_21.09' into dev 2022-01-21 16:38:36 +01:00
mvdbeek d5b31ee55a Fix tool id not getting updated on tool update 2022-01-19 14:46:31 +01:00
mvdbeek 1a08eb57b3 Make tool_evaluation_strategy configurable on app and destination level 2021-11-30 12:27:14 +01:00
mvdbeek f1ea0f0db4 Run data manager tests with metadata_strategy: extended
Which currently also means we run with remote_command_line: True.
2021-11-29 11:22:43 +01:00
Nicola Soranzo 6a6abf37ef Split run_tool_raw() out of BaseDatasetPopulator.run_tool()
so that the former always returns a `Response` object while the latter
returns the response content.

Also:
- In `CwlPopulator.run_cwl_job()` wait for the run only if `assert_ok`
  is True; if the `wait()` call fails, summarize history also for
  workflow runs.
2021-11-27 03:14:52 +00:00
mvdbeek d48ca7f8aa Add Integration test for failing data manager jobs when dbkey already exists 2021-09-20 13:07:23 +02:00
Anthony Bretaudeau 340caa1174 add more tests 2021-03-25 14:01:17 +01:00
Nicola Soranzo 9d74bba7fb Drop support for retired Python 3.5
Upgrade syntax using `pyupgrade --py36-plus` .

Manually drop several `six` imports.

Also:
- Remove broken pr_cache in scripts/bootstrap_history.py
- Fix broken prefix removal in lib/galaxy/tool_util/deps/mulled/mulled_build.py
2020-10-07 11:52:13 +01:00
mvdbeek 0cc40d5ed9 Merge branch 'release_19.09' into merge_19.09 2019-11-19 00:17:15 +01:00
mvdbeek 8ac189a5a1 Uses fixed sam_fasta data manager from MTS
and skip this test if the toolshed is down.
2019-11-18 21:22:20 +01:00
John Chilton 45019c3fbd Move galaxy testing utilities into more sane package structure.
Split test/base into lib/galaxy_test/base and lib/galaxy_test/driver. Dividing things on whether they import galaxy-app code or not - with the goal of a galaxy-test-base package that doesn't depend on galaxy-app and a galaxy-test-driver package that does.

I've been refactoring around this division for a long time. Certain tests (namely the integration tests) always need to bootstrap Galaxy - but the API tests and the Selenium tests should be installable and runnable without Galaxy in the Python environment. So future galaxy-test-api and galaxy-test-selenium packages should have only an optional dependency on galaxy-test-driver.

Properly sturcturing these namespaces is a precursor for real packages on PyPI, clean separation of the tool shed testing code, and cleans up all the flake8 noqa hacks in test/.
2019-11-12 09:03:06 -05:00
Dannon Baker 74eb5e2ee8 Merge remote-tracking branch 'upstream/release_19.09' into dev
(conflicts requiring resolution in Toolshed/Index and requirements)
2019-10-23 14:27:26 -04:00
mvdbeek 963093448e Test running data_manager_manual 2019-10-22 23:19:46 +02:00