-
Committer:
John Arbash Meinel
-
Date:
2009-12-08 19:19:51 UTC
-
Revision ID:
john@arbash-meinel.com-20091208191951-ekhcv011dyalvnru
Add a helper _ModuleFeature.
It is *very* common for us to what to run a test or not based on
whether a module can be imported. So make it a common base class
rather than reimplementing it each time.
Also, when the module is available, you can get it from the
feature object, rather than doing your own import test.