Commit Graph
18 Commits
Author SHA1 Message Date
Dannon Baker 434d406bde Cleanout communication server.
I don't think anyone's actively using this anymore, and most
communication has moved to (also embeddable) things like Gitter, etc.
2020-10-22 09:58:34 -04: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
Nicola Soranzo 1dc1e5f219 Python3: unicodify the output of `subprocess.check_output()`
By default it's a bytestring.

Also:
- don't use `shell=True`
- add a `splitlines()` forgotten in commit 670897ec5c
- raise exception instead of returning `error_info` in `docker_to_singularity()`
- use a random temp dir in `singularity_container_test()`
2020-02-05 12:13:39 +00:00
mvdbeek b58bf62252 Print output when exception occurs 2020-01-09 14:40:48 +01:00
mvdbeek e7abcb030b Fix integration test case for database set through env var 2020-01-09 14:40:48 +01:00
mvdbeek d0693ccbea Run and fix grt/export.py test
It used to take 35 minutes on jenkins, but it doesn't anymore, as we're
using a clean database for each test class.
2020-01-09 14:40:48 +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
Nate Coraor df7f8b425d Integration tests for handler assignment methods 2019-01-04 16:46:29 -05:00
Nicola Soranzo e14b871eb9 Add test for scripts/galaxy-main 2018-09-06 11:00:08 +01:00
Nicola Soranzo df8abbe3ef Prefer unicodify() for binary-to-text conversion
which supports non-utf-8 encodings.
2018-08-21 12:35:05 +01:00
mvdbeek cfce246845 Fix GRT export test 2018-08-14 14:56:07 +02:00
mvdbeek fd5e8cdd28 py3: fix test_scripts integration test 2018-08-02 13:21:19 +02:00
Dannon Baker 5171b9bd49 A couple more typos. 2018-07-18 09:42:39 -04:00
Nicola Soranzo 6ea22bfe18 Exclude only test_grt_export integration test
which takes 35' by itself.
2018-04-16 17:25:49 +01:00
John Chilton 506de02ec4 Skip new script tests in dev branch, they are breaking integration suite. 2018-04-04 10:23:24 -04:00
John Chilton bb90ae93d8 More grt fixes - spotted by @nsoranzo. 2018-03-23 16:14:50 -04:00
John Chilton b14928d972 Cleanup script integration tests. 2018-03-23 16:14:49 -04:00
John Chilton 5f3f792f6f Unification of Galaxy configuration parsing for scripts/* 2018-03-23 16:14:49 -04:00