From 1e59491dde1ff4bb4919a8e143d6afce4f5a12d0 Mon Sep 17 00:00:00 2001 From: Matjaz Gregoric Date: Fri, 4 Dec 2020 09:32:13 +0100 Subject: [PATCH] Register pytest mongo marker to avoid warning. See https://docs.pytest.org/en/stable/mark.html#registering-marks --- common/lib/pytest.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/lib/pytest.ini b/common/lib/pytest.ini index 9f9b54a12c..93c230eab2 100644 --- a/common/lib/pytest.ini +++ b/common/lib/pytest.ini @@ -8,6 +8,8 @@ filterwarnings = default ignore:No request passed to the backend, unable to rate-limit:UserWarning ignore::xblock.exceptions.FieldDataDeprecationWarning +markers = + mongo norecursedirs = .cache python_classes = python_files = tests.py test_*.py tests_*.py *_tests.py __init__.py