source: cows/branches/migrate-py26-pylons10/cows/pylons/project_templates/cows_server/+package+/tests/functional/test_csmlwms.py_tmpl @ 7492

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cows/branches/migrate-py26-pylons10/cows/pylons/project_templates/cows_server/+package+/tests/functional/test_csmlwms.py_tmpl@7492
Revision 7492, 191 bytes checked in by astephen, 9 years ago (diff)

Replaced use of "routes.url_for" function with the global "pylons.url"
function for compatibility with pylons 1.0.

Line 
1from {{package}}.tests import *
2
3class TestCsmlwmsController(TestController):
4
5    def test_index(self):
6        response = self.app.get(url(controller='csmlwms'))
7        # Test response...
Note: See TracBrowser for help on using the repository browser.