summaryrefslogtreecommitdiff
path: root/testing/test_conftest.py
diff options
context:
space:
mode:
authorEric Siegerman <pub08-pytest@davor.org>2015-03-01 17:32:00 -0500
committerEric Siegerman <pub08-pytest@davor.org>2015-03-01 17:32:00 -0500
commit97d5da5c9957f7fbceadc2b78467c63f4a85d01f (patch)
tree5c06d3025c1b9669ba58ce4088aade10dde81c7e /testing/test_conftest.py
parent9384ff38c96101f012aae9d54d984d942373bbb3 (diff)
downloadpytest-97d5da5c9957f7fbceadc2b78467c63f4a85d01f.tar.gz
Add comments
--HG-- branch : issue616
Diffstat (limited to 'testing/test_conftest.py')
-rw-r--r--testing/test_conftest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/test_conftest.py b/testing/test_conftest.py
index 1de92ec06..bff68e6d2 100644
--- a/testing/test_conftest.py
+++ b/testing/test_conftest.py
@@ -312,21 +312,25 @@ class TestConftestVisibility:
# N.B.: "swc" stands for "subdir with conftest.py"
# "snc" stands for "subdir no [i.e. without] conftest.py"
@pytest.mark.parametrize("chdir,testarg,expect_ntests_passed", [
+ # Effective target: package/..
("runner", "..", 3),
("package", "..", 3),
("swc", "../..", 3),
("snc", "../..", 3),
+ # Effective target: package
("runner", "../package", 3),
("package", ".", 3),
("swc", "..", 3),
("snc", "..", 3),
+ # Effective target: package/swc
("runner", "../package/swc", 1),
("package", "./swc", 1),
("swc", ".", 1),
("snc", "../swc", 1),
+ # Effective target: package/snc
("runner", "../package/snc", 1),
("package", "./snc", 1),
("swc", "../snc", 1),