From: Dimitri Savineau Date: Wed, 15 Jan 2020 17:48:10 +0000 (-0500) Subject: tests: register mark in pytest configuration X-Git-Tag: v6.0.0alpha2~254 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ac4f8763aab8ad62771b412662230349676242c7;p=ceph-ansible.git tests: register mark in pytest configuration Unregister marks generates warnings like: PytestUnknownMarkWarning: Unknown pytest.mark.docker - is this a typo? You can register custom marks to avoid this warning https://docs.pytest.org/en/latest/mark.html Signed-off-by: Dimitri Savineau --- diff --git a/tests/pytest.ini b/tests/pytest.ini index c3e641df4..7a1e037d7 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -1,2 +1,17 @@ # this is just a placeholder so that we can define what the 'root' of the tests # dir really is. +[pytest] +markers = + dashboard: environment with dashboard enabled + no_docker: environment without containers + docker: environment with containers + all: for all nodes + iscsigws: for iscsigw nodes + mdss: for mds nodes + mgrs: for mgr nodes + mons: for mon nodes + nfss: for nfs nodes + osds: for osd nodes + rbdmirrors: for rbdmirror nodes + rgws: for rgw nodes + grafanas: for grafana nodes