Mercurial > kallithea
comparison rhodecode/tests/functional/test_files.py @ 688:8acbfa837180 beta
Tests rewrite for 1.2 added some globals configs to make tests easier.
Fixed search index_location to take from configuration files now
fixed git http_user_agent bug
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 14 Nov 2010 17:24:32 +0100 |
parents | 1e757ac98988 |
children | 942803947f67 |
comparison
equal
deleted
inserted
replaced
687:b9442a8b5e02 | 688:8acbfa837180 |
---|---|
3 class TestFilesController(TestController): | 3 class TestFilesController(TestController): |
4 | 4 |
5 def test_index(self): | 5 def test_index(self): |
6 self.log_user() | 6 self.log_user() |
7 response = self.app.get(url(controller='files', action='index', | 7 response = self.app.get(url(controller='files', action='index', |
8 repo_name='vcs_test', | 8 repo_name=HG_REPO, |
9 revision='tip', | 9 revision='tip', |
10 f_path='/')) | 10 f_path='/')) |
11 # Test response... | 11 # Test response... |