pylons.test – Test related functionality

Test related functionality

Adds a Pylons plugin to nose that loads the Pylons app before scanning for doc tests.

This can be configured in the projects setup.cfg under a [nosetests] block:


Alternate ini files may be specified if the app should be loaded using a different configuration.

Module Contents

class pylons.test.PylonsPlugin

Nose plugin extension

For use with nose to allow a project to be configured before nose proceeds to scan the project for doc tests and unit tests. This prevents modules from being loaded without a configured Pylons environment.