| 1 |
# THIS FILE IS PART OF THE CYLC WORKFLOW ENGINE. |
| 2 |
# Copyright (C) NIWA & British Crown (Met Office) & Contributors. |
| 3 |
# |
| 4 |
# This program is free software: you can redistribute it and/or modify |
| 5 |
# it under the terms of the GNU General Public License as published by |
| 6 |
# the Free Software Foundation, either version 3 of the License, or |
| 7 |
# (at your option) any later version. |
| 8 |
# |
| 9 |
# This program is distributed in the hope that it will be useful, |
| 10 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
# GNU General Public License for more details. |
| 13 |
# |
| 14 |
# You should have received a copy of the GNU General Public License |
| 15 |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 |
|
| 17 |
[pytest] |
| 18 |
addopts = --verbose |
| 19 |
--doctest-modules |
| 20 |
# default to running tests in one process |
| 21 |
-n=1 |
| 22 |
# group tests by module or class |
| 23 |
--dist=loadscope |
| 24 |
# ignore files which cause issues with test collection |
| 25 |
--ignore=cylc/flow/data_messages_pb2.py |
| 26 |
--ignore=cylc/flow/parsec/example |
| 27 |
# disable pytest-tornasync because it conflicts with pytest-asyncio's auto mode |
| 28 |
-p no:tornado |
| 29 |
-m "not linkcheck" |
| 30 |
verbosity_assertions = 2 |
| 31 |
testpaths = |
| 32 |
cylc/flow/ |
| 33 |
tests/unit/ |
| 34 |
tests/integration/ |
| 35 |
tests/conftest.py |
| 36 |
doctest_optionflags = |
| 37 |
NORMALIZE_WHITESPACE |
| 38 |
ELLIPSIS |
| 39 |
asyncio_mode = auto |
| 40 |
markers= |
| 41 |
linkcheck: Test links |