Files
galaxy/pytest.ini
T
Nicola Soranzo f0708488aa pytest: disable test collection of classes starting with Test
Fix warnings like:

```
/home/travis/build/galaxyproject/galaxy/lib/galaxy/tools/verify/test_data.py:29: PytestWarning: cannot collect test class 'TestDataResolver' because it has a __init__ constructor
  class TestDataResolver(object):
```

appearing e.g. in https://travis-ci.org/galaxyproject/galaxy/jobs/428114139 .

See pytest documentation:
https://docs.pytest.org/en/latest/reference.html#confval-python_classes
2018-09-18 10:06:31 +01:00

9 lines
197 B
INI

[pytest]
addopts = --doctest-continue-on-failure
log_level = DEBUG
python_classes =
python_paths = lib
markers =
data_manager: marks test as a data_manager test
tool: marks test as a tool test