diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-04-01 21:45:59 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-04-03 22:49:21 +0200 |
commit | fb2ae7bc741061da2c1ae77c06fd643b648b121b (patch) | |
tree | 635591f28e4c90eddbf50ccc7b4877690a7a31df /tests/conftest.py | |
parent | dbcf928e5c9b3bc87b63e305e75046a91eade6c7 (diff) | |
download | pylint-git-fb2ae7bc741061da2c1ae77c06fd643b648b121b.tar.gz |
Add very basic tests for expand modules
Diffstat (limited to 'tests/conftest.py')
-rw-r--r-- | tests/conftest.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index e2762091d..5c2567d11 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,6 +1,7 @@ # pylint: disable=redefined-outer-name # pylint: disable=no-name-in-module import os +from pathlib import Path import pytest @@ -9,6 +10,11 @@ from pylint.lint import PyLinter from pylint.testutils import MinimalTestReporter +@pytest.fixture() +def tests_directory(): + return Path(__file__).parent + + @pytest.fixture def linter(checker, register, enable, disable, reporter): _linter = PyLinter() |