old_contents: from .. import ControllerTestCase, url
  
  class TestHomeController(ControllerTestCase):
  
      def test_index(self):
          response = self.app.get(url(controller='home', action='index'))
          assert 'OpenSpending' in response
  
      def test_locale(self):
          response = self.app.get(url(controller='home', action='locale'))
  
new_contents: from .. import ControllerTestCase, url
  
  class TestHomeController(ControllerTestCase):
  
      def test_index(self):
          response = self.app.get(url(controller='home', action='index'))
          assert 'OpenSpending' in response
  
      def test_locale(self):
          response = self.app.get(url(controller='home', action='set_locale'))
  
subject: Fix test for locale route generation.