parent
9384ff38c9
commit
97d5da5c99
|
@ -312,21 +312,25 @@ class TestConftestVisibility:
|
||||||
# N.B.: "swc" stands for "subdir with conftest.py"
|
# N.B.: "swc" stands for "subdir with conftest.py"
|
||||||
# "snc" stands for "subdir no [i.e. without] conftest.py"
|
# "snc" stands for "subdir no [i.e. without] conftest.py"
|
||||||
@pytest.mark.parametrize("chdir,testarg,expect_ntests_passed", [
|
@pytest.mark.parametrize("chdir,testarg,expect_ntests_passed", [
|
||||||
|
# Effective target: package/..
|
||||||
("runner", "..", 3),
|
("runner", "..", 3),
|
||||||
("package", "..", 3),
|
("package", "..", 3),
|
||||||
("swc", "../..", 3),
|
("swc", "../..", 3),
|
||||||
("snc", "../..", 3),
|
("snc", "../..", 3),
|
||||||
|
|
||||||
|
# Effective target: package
|
||||||
("runner", "../package", 3),
|
("runner", "../package", 3),
|
||||||
("package", ".", 3),
|
("package", ".", 3),
|
||||||
("swc", "..", 3),
|
("swc", "..", 3),
|
||||||
("snc", "..", 3),
|
("snc", "..", 3),
|
||||||
|
|
||||||
|
# Effective target: package/swc
|
||||||
("runner", "../package/swc", 1),
|
("runner", "../package/swc", 1),
|
||||||
("package", "./swc", 1),
|
("package", "./swc", 1),
|
||||||
("swc", ".", 1),
|
("swc", ".", 1),
|
||||||
("snc", "../swc", 1),
|
("snc", "../swc", 1),
|
||||||
|
|
||||||
|
# Effective target: package/snc
|
||||||
("runner", "../package/snc", 1),
|
("runner", "../package/snc", 1),
|
||||||
("package", "./snc", 1),
|
("package", "./snc", 1),
|
||||||
("swc", "../snc", 1),
|
("swc", "../snc", 1),
|
||||||
|
|
Loading…
Reference in New Issue