collective / collective.xmltestreport

Test runner which can output an XML report compatible with JUnit and Jenkins
https://pypi.org/project/collective.xmltestreport
7 stars 8 forks source link

Exclude system site-packages from tests' sys.path #5

Closed kedder closed 12 years ago

kedder commented 12 years ago

Current collective.xmltestreport recipe allows tests to see system site packages. This is often not desirable, since system syte-packages may conflict with app own dependencies. This makes collective.xmltestreport not really a zc.recipe.testrunner drop-in replacement, since zc.recipe.testrunner allows to exclude site packages from sys.path.

Basically, this patch unifies recipe.py with corresponding version from zc.recipe.testrunner.