]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
pytest: register ceph_crash mark
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 5 Aug 2020 19:03:49 +0000 (15:03 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Fri, 11 Sep 2020 00:35:04 +0000 (20:35 -0400)
Otherwise we see some pytest warning.

PytestUnknownMarkWarning: Unknown pytest.mark.ceph_crash - is this a typo?
You can register custom marks to avoid this warning - for details,
see https://docs.pytest.org/en/latest/mark.html

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 03d46202691514639ff10666a488169bf8b4d150)

tests/pytest.ini

index 7a1e037d74dd4062750f4caeb55004a6ab253810..136a805047069e9a45909508d6ee823a48e524c0 100644 (file)
@@ -2,6 +2,7 @@
 # dir really is. 
 [pytest]
 markers =
+  ceph_crash: environment with ceph crash enabled
   dashboard: environment with dashboard enabled
   no_docker: environment without containers
   docker: environment with containers