[ckan-changes] [ckan/ckan] 931c1b: [#790] save pylons config prior to tests, restore ...
GitHub
noreply at github.com
Tue May 13 14:40:12 UTC 2014
Branch: refs/heads/790-idatasetform-tutorial
Home: https://github.com/ckan/ckan
Commit: 931c1b6d0e48dc08e046e93033f3628b27ec4a85
https://github.com/ckan/ckan/commit/931c1b6d0e48dc08e046e93033f3628b27ec4a85
Author: joetsoi <joe.yeung.tsoi at gmail.com>
Date: 2014-05-13 (Tue, 13 May 2014)
Changed paths:
R ckanext/example_idatasetform/new_tests/__init__.py
R ckanext/example_idatasetform/new_tests/test_example_idatasetform.py
A ckanext/example_idatasetform/tests/__init__.py
A ckanext/example_idatasetform/tests/test_example_idatasetform.py
Log Message:
-----------
[#790] save pylons config prior to tests, restore config in teardown
The plugin implements IConfigurer which adds a directory to the
templates. This clashes with the tests for the multilingual extension
that are running off the legacy templates. Having the
package/search.html template here causes the clash.
Saving and restoring the config means the multilingual tests will not
pickup and templates from this plugin.
More information about the ckan-changes
mailing list