pytest2/testing/pytest
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
..
dist rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
looponfail * remove unused py._thread namespace, rewrite the one usage 2009-10-03 19:57:48 +02:00
plugin first round of fixing jython compatibility issues, marking some tests as xfail-on-jython 2009-10-27 21:34:11 +01:00
__init__.py move test files out of py lib proper 2009-09-06 16:59:39 +02:00
acceptance_test.py move test files out of py lib proper 2009-09-06 16:59:39 +02:00
conftest.py generalize skipping 2009-10-15 16:18:57 +02:00
test_collect.py first round of fixing jython compatibility issues, marking some tests as xfail-on-jython 2009-10-27 21:34:11 +01:00
test_compat.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
test_config.py remove deprecated parser.addgroup usage in favour of getgroup 2009-10-27 10:03:11 +01:00
test_conftesthandle.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
test_deprecated_api.py move test files out of py lib proper 2009-09-06 16:59:39 +02:00
test_funcargs.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
test_genitems.py move test files out of py lib proper 2009-09-06 16:59:39 +02:00
test_outcome.py - make importorskip static at py.test.importorskip because it's 2009-10-15 20:10:06 +02:00
test_parseopt.py deprecate addgroup / allow ordering of option groups 2009-10-17 17:43:33 +02:00
test_pickling.py remove deprecated parser.addgroup usage in favour of getgroup 2009-10-27 10:03:11 +01:00
test_pluginmanager.py streamline pluginmanager api and test/beautify printing of plugins with --trace 2009-10-17 12:56:59 +02:00
test_pycollect.py resolves issue #59 2009-10-28 19:51:20 +01:00
test_recording.py move test files out of py lib proper 2009-09-06 16:59:39 +02:00
test_session.py move test files out of py lib proper 2009-09-06 16:59:39 +02:00
test_traceback.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00