From 50db718a6a0ea09be107f6bf9e9aa1a7002a91de Mon Sep 17 00:00:00 2001 From: turturica Date: Fri, 10 Aug 2018 13:57:29 -0700 Subject: [PATCH] Add a test description. --- testing/test_collection.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing/test_collection.py b/testing/test_collection.py index 6480cc85d..3b9c5df6c 100644 --- a/testing/test_collection.py +++ b/testing/test_collection.py @@ -638,6 +638,10 @@ class Test_getinitialnodes(object): assert col.config is config def test_pkgfile(self, testdir): + """Verify nesting when a module is within a package. + The parent chain should match: Module -> Package -> Session. + Session's parent should always be None. + """ tmpdir = testdir.tmpdir subdir = tmpdir.join("subdir") x = subdir.ensure("x.py")