From f4503d1552d8012fa1ad4175bee1d917e4e6ff69 Mon Sep 17 00:00:00 2001 From: Chandan Singh Date: Tue, 22 Oct 2019 11:55:09 +0100 Subject: setup.cfg: Register mark for pytest-datafiles Register the marker for `pytest-datafiles`. This fixes the following warning that we currently get: ``` .tox/py37-nocover/lib/python3.7/site-packages/_pytest/mark/structures.py:324 /Users/csingh43/buildstream/bst-tmp/.tox/py37-nocover/lib/python3.7/site-packages/_pytest/mark/structures.py:324: PytestUnknownMarkWarning: Unknown pytest.mark.datafiles - is this a typo? You can register custom marks to avoid this warning - for detail s, see https://docs.pytest.org/en/latest/mark.html PytestUnknownMarkWarning, ``` --- setup.cfg | 1 + 1 file changed, 1 insertion(+) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 2264a317c..53a83541c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,6 +18,7 @@ env = D:BST_TEST_SUITE=True markers = + datafiles: data files for tests integration: run test only if --integration option is specified remoteexecution: run test only if --remote-execution option is specified in_subprocess: run test in a Python process forked from the main one -- cgit v1.2.1