class documentation

class ModuleFinderSuite(Suite): (source)

View In Hierarchy

Undocumented

Method setUp Undocumented
Method test__find_a_in_pkg1 Undocumented
Method test__find_b_init_in_pkg2 Undocumented
Method test__find_d_nowhere Undocumented
Method test__find_nsx_a_init_in_pkg1 Find nsx-pkg1/nsx/a/__init__.py for "nsx.a" in namespace mode.
Method test__find_nsx_as_namespace_pkg_in_pkg1 There's no __init__.py in any of the nsx dirs, return the path to the first one found in mypypath.
Method test__find_nsx_b_init_in_pkg2 Find nsx-pkg2/nsx/b/__init__.py for "nsx.b" in namespace mode.
Method test__find_nsx_c_c_in_pkg3 Find nsx-pkg3/nsx/c/c.py for "nsx.c.c" in namespace mode.
Method test__find_nsy_a__init_pyi Prefer nsy-pkg1/a/__init__.pyi file over __init__.py.
Method test__find_nsy_b__init_py There is a nsy-pkg2/nsy/b.pyi, but also a nsy-pkg2/nsy/b/__init__.py. We expect to find the latter when looking up "nsy.b" as a package is preferred over a module.
Method test__find_nsy_c_pyi There is a nsy-pkg2/nsy/c.pyi and nsy-pkg2/nsy/c.py We expect to find the former when looking up "nsy.b" as .pyi is preferred over .py.
Method test__no_namespace_packages__find_a_in_pkg1 Find find pkg1/a.py for "a" with namespace_packages False.
Method test__no_namespace_packages__find_b_in_pkg2 Undocumented
Method test__no_namespace_packages__nsx If namespace_packages is False, we shouldn't find nsx
Method test__no_namespace_packages__nsx_a If namespace_packages is False, we shouldn't find nsx.a.
Instance Variable fmc_nons Undocumented
Instance Variable fmc_ns Undocumented
Instance Variable search_paths Undocumented
def setUp(self): (source)

Undocumented

def test__find_a_in_pkg1(self): (source)

Undocumented

def test__find_b_init_in_pkg2(self): (source)

Undocumented

def test__find_d_nowhere(self): (source)

Undocumented

def test__find_nsx_a_init_in_pkg1(self): (source)

Find nsx-pkg1/nsx/a/__init__.py for "nsx.a" in namespace mode.

def test__find_nsx_as_namespace_pkg_in_pkg1(self): (source)

There's no __init__.py in any of the nsx dirs, return the path to the first one found in mypypath.

def test__find_nsx_b_init_in_pkg2(self): (source)

Find nsx-pkg2/nsx/b/__init__.py for "nsx.b" in namespace mode.

def test__find_nsx_c_c_in_pkg3(self): (source)

Find nsx-pkg3/nsx/c/c.py for "nsx.c.c" in namespace mode.

def test__find_nsy_a__init_pyi(self): (source)

Prefer nsy-pkg1/a/__init__.pyi file over __init__.py.

def test__find_nsy_b__init_py(self): (source)

There is a nsy-pkg2/nsy/b.pyi, but also a nsy-pkg2/nsy/b/__init__.py. We expect to find the latter when looking up "nsy.b" as a package is preferred over a module.

def test__find_nsy_c_pyi(self): (source)

There is a nsy-pkg2/nsy/c.pyi and nsy-pkg2/nsy/c.py We expect to find the former when looking up "nsy.b" as .pyi is preferred over .py.

def test__no_namespace_packages__find_a_in_pkg1(self): (source)

Find find pkg1/a.py for "a" with namespace_packages False.

def test__no_namespace_packages__find_b_in_pkg2(self): (source)

Undocumented

def test__no_namespace_packages__nsx(self): (source)

If namespace_packages is False, we shouldn't find nsx

def test__no_namespace_packages__nsx_a(self): (source)

If namespace_packages is False, we shouldn't find nsx.a.

fmc_nons = (source)

Undocumented

Undocumented

search_paths = (source)

Undocumented