Add a test description.

This commit is contained in:
turturica 2018-08-10 13:57:29 -07:00
parent 266f05c4c4
commit 50db718a6a
1 changed files with 4 additions and 0 deletions

View File

@ -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<x.py> -> Package<subdir> -> Session.
Session's parent should always be None.
"""
tmpdir = testdir.tmpdir
subdir = tmpdir.join("subdir")
x = subdir.ensure("x.py")