Skip to content

Commit d2875ba

Browse files
committed
Rename fixture to match more closely to attribute name
1 parent 2707e6f commit d2875ba

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/unit/nox/_shared_test.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ def tmp_directory(tmp_path_factory):
2323

2424

2525
@pytest.fixture(scope="session")
26-
def path_filter_directory():
27-
return "path_filter"
26+
def excluded_python_path():
27+
return "excluded_python_path"
2828

2929

3030
@pytest.fixture(scope="session")
31-
def directories(package_directory, path_filter_directory):
31+
def directories(package_directory, excluded_python_path):
3232
yield set(BaseConfig().excluded_python_paths).union(
33-
{package_directory, path_filter_directory}
33+
{package_directory, excluded_python_path}
3434
)
3535

3636

@@ -49,9 +49,9 @@ def create_files(tmp_directory, directories):
4949

5050

5151
def test_get_filtered_python_files(
52-
tmp_directory, create_files, package_directory, path_filter_directory
52+
tmp_directory, create_files, package_directory, excluded_python_path
5353
):
54-
config = BaseConfig(add_to_excluded_python_paths=(path_filter_directory,))
54+
config = BaseConfig(add_to_excluded_python_paths=(excluded_python_path,))
5555

5656
with patch("exasol.toolbox.nox._shared.PROJECT_CONFIG", config):
5757
actual = get_filtered_python_files(tmp_directory)

0 commit comments

Comments
 (0)