Module: check_mk
Branch: master
Commit: 1bb69eccc3f625f5cab4e661561d4df5811c9012
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1bb69eccc3f625…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Dec 21 11:08:10 2017 +0100
Another attempt to check manual pages via Gerrit.
Change-Id: Ibd32ed64fb43a78fc748628dc3aa616ec4ad383a
---
tests/Makefile | 3 +--
tests/checkman/test_manpages.py | 3 +++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/Makefile b/tests/Makefile
index f84d49f..3b239cc 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -22,8 +22,7 @@ test-pylint:
test-pylint-ci:
export TERM="linux" ; \
export PYLINT_ARGS="--output-format=cmk_parseable" ; \
- $(MAKE) test-pylint ; \
- py.test -m checkman
+ $(MAKE) test-pylint
test-bandit:
diff --git a/tests/checkman/test_manpages.py b/tests/checkman/test_manpages.py
index 4e639c3..2ab3e19 100644
--- a/tests/checkman/test_manpages.py
+++ b/tests/checkman/test_manpages.py
@@ -2,10 +2,13 @@
# encoding: utf-8
import os
+import pytest
import sys
import subprocess
from testlib import cmk_path
+# HACK: Mark all tests in this file to be pylint checks
+pytestmark = pytest.mark.pylint
def test_manpage_files():
os.chdir(cmk_path())