holger krekel
f554fa03ae
make initial conftest finding ignore "--" arguments
...
--HG--
branch : trunk
2010-07-01 19:27:40 +02:00
holger krekel
804dcd3521
some adjustments to make py.test --basetemp=XYZ work where
...
XYZ is a subdir the checkout which contains a conftest.py
--HG--
branch : trunk
2010-06-07 21:02:26 +02:00
holger krekel
8131f5bdc0
(fixes issue83) don't try to import conftest from an invalid package path, refine path.pyimport() logic
...
--HG--
branch : trunk
2010-04-27 15:49:13 +02:00
holger krekel
d163d92b33
actually look into all non-dot subdirs for conftest.py files - recursive walk would be too heavy for large source trees but first-level subdirs are fine IMO. Note that prior to py.test 1.0 doing this "look-ahead" was not easily doable because it was hard to avoid global state in conftest.py, this is not true anymore - so i feel ok telling people to cleanup their conftest files if they get problems (you can imagine people doing all kinds of things at global conftest.py module scope, can't you?)
...
--HG--
branch : trunk
2010-02-06 22:37:04 +01:00
holger krekel
7bd60b5abb
check and load test*/conftest.py early from anchors -
...
this makes it a bit more convenient to have command line options
available from a root directory of a project that does not
directly contain a conftest.py
--HG--
branch : trunk
2010-02-04 12:26:53 +01:00
holger krekel
9da1ba40ed
move down py/impl/XYZ to py/_XYZ
...
--HG--
branch : trunk
2010-01-13 17:15:54 +01:00
holger krekel
5c27076d32
flatten test directory hierarchy and merge smaller into larger files
...
--HG--
branch : trunk
2010-01-13 16:17:50 +01:00