pytest2/testing/path
holger krekel 86fc12dd15 resolves issue #59
resolves issue #48

Have the path.pyimport() helper raise an EnvironmentError if an
import of a given file returns a module that does not appear to
be coming from the actual path.  E.g. for a directory layout like this:

    a / test_whatever.py
    b / test_whatever.py

calling py.path.local("b/test_whatever.py").pyimport() will
fail if the other globally scoped test_whatever module was
loaded already.

--HG--
branch : trunk
2009-10-28 19:51:20 +01:00
..
__init__.py move test files out of py lib proper 2009-09-06 16:59:39 +02:00
common.py first round of fixing jython compatibility issues, marking some tests as xfail-on-jython 2009-10-27 21:34:11 +01:00
conftest.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
repotest.dump move test files out of py lib proper 2009-09-06 16:59:39 +02:00
svntestbase.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
test_cacheutil.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
test_local.py resolves issue #59 2009-10-28 19:51:20 +01:00
test_svnauth.py move test files out of py lib proper 2009-09-06 16:59:39 +02:00
test_svnurl.py generalize skipping 2009-10-15 16:18:57 +02:00
test_svnwc.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00