summaryrefslogtreecommitdiff
path: root/tests/test_functional.py
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-03-26 21:53:20 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-03-26 22:00:39 +0100
commit09dce027f430498ba9c42c9f6502401b72f5c255 (patch)
tree9345947fa7cd90dcca833b5e3c5df8c4d992f08f /tests/test_functional.py
parentcb3ea625c2f9f70667a074aa6603b3ea68e9d18e (diff)
downloadpylint-git-09dce027f430498ba9c42c9f6502401b72f5c255.tar.gz
Only print verbose logs if pytest -v
Diffstat (limited to 'tests/test_functional.py')
-rw-r--r--tests/test_functional.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_functional.py b/tests/test_functional.py
index 0d015f33e..18706f4f2 100644
--- a/tests/test_functional.py
+++ b/tests/test_functional.py
@@ -94,11 +94,11 @@ TEST_WITH_EXPECTED_DEPRECATION = [
@pytest.mark.parametrize("test_file", TESTS, ids=TESTS_NAMES)
-def test_functional(test_file, recwarn):
+def test_functional(test_file, recwarn, pytestconfig):
if UPDATE_FILE.exists():
- lint_test = LintModuleOutputUpdate(test_file)
+ lint_test = LintModuleOutputUpdate(test_file, pytestconfig)
else:
- lint_test = testutils.LintModuleTest(test_file)
+ lint_test = testutils.LintModuleTest(test_file, pytestconfig)
lint_test.setUp()
lint_test._runTest()
warning = None