_pytest/config.py contains the following code:
,----
| ...
| conftestpath = path.join("conftest.py")
| if conftestpath.check(file=1):
| key = conftestpath.computehash()
| # XXX logging about conftest loading
| if key not in self._md5cache:
| clist.append(self.importconftest(conftestpath))
| self._md5cache[key] = conftestpath
| else:
| # use some kind of logging
| print ("WARN: not loading %s" % conftestpath)
`----
If I put multiple conftest.py files with the same content into different
subdirecties py.test will only read one of them. I try to make py.test
ignore multiple subdirectories by putting the same conftest.py file into
those subdirectories. py.test currently only ignores one of those.
Regards
-- Ralf
_______________________________________________
py-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/py-dev