okfn/ckan — pull request #657 by seanh (2013-03-19 17:12:24+00:00)
Title: [wip] [#479] Add tests for example_idatasetform

See issue:

I think it's really important to get this into 2.1, a lot of work went into getting IDatasetForm fixed for 2.0 and without tests it will probably break again soon. I'm even going to take the liberty of labeling this hi pri!

This cannot be merged into master yet because the tests will fail when
Travis runs them.

If you edit your `test-core.ini`, set:

legacy_templates = no
plugins=example_idatasetform

and then run:

nosetests --ckan --with-pylons=test-core.ini ckanext/example_idatasetform/tests

then the tests will pass.

This is not the best test module every maybe it should be improved
before merging too.