Skip to content

Commit 0928e7e

Browse files
GSVarshapvital
authored andcommitted
fix(ci): fix warnings by registering the pytest marker
- ``` /workspace/python-sensor/tests/agent/test_host.py:125: PytestUnknownMarkWarning: Unknown pytest.mark.original - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.original ``` Signed-off-by: Varsha GS <varsha.gs@ibm.com>
1 parent ceaf34a commit 0928e7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pytest.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ pythonpath = src
77
testpaths =
88
tests
99
tests_aws
10+
markers =
11+
original: mark test to use the original method instead of the mocked ones under `conftest.py`

0 commit comments

Comments
 (0)