toscawidgets/tw2.core — pull request #60 by abele (2012-10-05 15:03:11+00:00)
Title: Encapsulate FormEncode code and add it as testing dependency

Add FormEncode as test dependency and remove conditionals for running TW2 only tests.

Add Mock library as test dependency.

When FormEncode package is available its base validation error and validation class is registered in `VALIDATION_ERRORS` and `SUPPORTED_VALIDATORS` tuples.

Related to [issue #529](https://github.com/toscawidgets/tw2.core/issues/34).