mvdbeek
25b93c78b6
Fix CORS unit test
2018-07-05 02:49:51 +01:00
Nicola Soranzo
2cd95c48f6
Fix import order everywhere
...
- Add flake8-import-order to flake8 Pipfile and remove py27-lint-imports
and py27-lint-imports-include-list tox envs
- Fix most E201 and E202 errors reported by flake8-import-order v0.15,
but pin flake8-import-order to v0.14.3 until
https://github.com/PyCQA/flake8-import-order/issues/123
is fixed
This let us drop 2 jobs on Travis per each job.
2017-11-14 19:42:39 +00:00
Nicola Soranzo
9b1832abb1
Fix import order for cron/, scripts/ and test/
2017-09-25 23:44:39 +01:00
guerler
9a3a9f6ae2
Remove test cases for unused plugin base classes
2017-09-15 13:20:30 -04: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
a8746c4f52
Fix import order and Python3 compatibility for test/unit/
2016-11-16 10:29:09 +00:00
Nicola Soranzo
9a97a2952f
Python3: test/unit/
2016-06-29 01:55:44 -04:00
Nicola Soranzo
6ba6f798ec
Fix more E203 flake8 errors
2016-05-17 23:53:16 +01:00
carlfeberhard
1a5bc43a80
CORS: try fixing tests again, this time by avoiding use of Configuration altogether
2016-01-14 16:45:28 -05:00
carlfeberhard
0d399f6919
CORS: cache and restore tempfile.tempdir when using test Configuration instances as it persists across tests and fails any tempfile related tests that follow, move test_config tests into test_webapp (cohesive subject v. ortho file struct)
2016-01-14 15:32:57 -05:00
carlfeberhard
575a5a4402
CORS: move check/setter to webapp.GalaxyWebTransaction from base.WebApplication, bail on lack of config key, rework tests, add test files
2016-01-07 12:39:18 -05:00
John Chilton
499108432a
Attempt to fix manager, viz, and web unit tests for Python 2.6...
...
... using unittest2.
2015-05-06 14:06:16 -04:00
Carl Eberhard
1bc86a5fba
Testing: move managers, web/base, datatypes/dataproviders, and visualization 'unit'(?) tests to using common mock objects and loading system; cleanup
2015-04-16 10:25:34 -04:00
John Chilton
962a53e544
Allow run_unit_tests.sh to execute all unit tests in test/unit.
...
Basically adds __init__.py files to each subdirectory so nose detects these as Python module directories. Also modify dynamic loading of modules in Carl's test cases so the test case can be run with any cwd - including the Galaxy root directory as run_unit_tests.sh will use.
This should roughly double the number of unit tests buildbot runs.
2013-12-04 11:46:32 -06:00
Carl Eberhard
59d539a321
Visualizations registry, QA: initial unit tests; Plugin framework unit tests: remove unneeded tests
2013-09-19 10:09:19 -04:00
Carl Eberhard
d4a7c72bb5
Plugin frameworks, QA: add unit tests for PluginManager, HookPluginManager, and PageServingPluginManager
2013-09-18 18:24:00 -04:00