ericholscher / django-test-utils

Utilities for testing Django applications
http://django-test-utils.readthedocs.org/
MIT License
343 stars 69 forks source link

[crawler] option to disable plugins #24

Open tino opened 12 years ago

tino commented 12 years ago

Hi,

It would be nice to have a --disable-plugin option, to disable the time plugin for instance.

I started on a patch, but it is a little difficult at the moment, as the 'default active' plugins are setup in de the Crawler.__init__ method. I think the right solution for this is to do away with the active attribute, and populate the plugins option of the management command with the plugins that should be enabled by default. That way it is easy to disable plugins.

What do you think?