view pylons_app/tests/functional/test_files.py @ 459:7c978511c951

implemented basic (startup) nose test suite.
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 05 Sep 2010 16:20:29 +0200
parents aec4c0071cb3
children 6b934c9607e7
line wrap: on
line source

from pylons_app.tests import *

class TestFilesController(TestController):

    def test_index(self):
        response = self.app.get(url(controller='files', action='index',
                                    repo_name='vcs_test',
                                    revision='tip',
                                    f_path='/'))
        # Test response...