Commit Graph
15 Commits
Author SHA1 Message Date
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 14b1730eb2 Combine "as" imports with other "from" imports 2022-06-20 20:06:30 +01:00
Dannon Baker 623a5e165a Apply black formatting.
Apply isort.
2022-02-03 07:42:20 -05:00
mvdbeek 9e07d9cc06 Handle driver shutdown, show all test in pytest
This is pretty hackish as fixtures can't be used during test discovery.
To properly shut down the driver I've added a conftest.py file that will
be called when quitting pytest. We might be able to handle this a
little better if we wrote a full plugin, but for now this works.

Also now reports all test indexes, so you can select e.g test 2 of a
tool.
2018-08-16 18:44:05 +02:00
mvdbeek 3f032f6c38 Rework and simplify data manager testing
We don't rely on TwillTestCase anymore, that is now exclusively used by
ShedTwillTestCase. Then I've just re-used the infrastructure of
ToolsTestCase for discovering tests, while making sure that we do use an
admin API key during testing.
2018-08-13 17:19:25 +02:00
mvdbeek ae9b6057da Fix test_data_managers for python 3 2018-07-04 16:53:50 +02:00
John Chilton 289937506b Refactor much more tool testing code into galaxy-lib. 2018-03-06 20:07:51 -05:00
John Chilton 5e6c1c9f51 New abstraction to obtain tool test data paths.
Can be shared between tests and TDTs. A step toward not requiring one to load the tool to test the tool (important for external testing of tools).
2018-03-06 20:07:51 -05:00
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
Nicola Soranzo 1e32c0926c Fix import order and Python3 compatibility for most of test/ 2016-10-10 19:06:22 +01:00
Nicola Soranzo 8a43b2b492 Python 3: use "as" instead of comma in except clause 2016-05-17 23:53:16 +01:00
Bjoern Gruening 1bbff415f2 lint fixes for test/functional/ 2015-07-12 21:32:49 +01:00
John Chilton 34793d214c Adjust test/functional/test_data_managers.py for run_tool ret val change in 21e3d69. 2014-12-08 00:21:47 -05:00
Daniel Blankenberg 1327cc5445 Rename functions to prevent encapsulation / name mangling in test_toolbox.py and test_data_managers.py 2013-12-11 09:00:01 -05:00
Daniel Blankenberg 3db7688a56 Add Functional Testing support for locally and ToolShed installed Data Managers. 2013-12-10 12:59:29 -05:00