Mercurial > kallithea
comparison rhodecode/tests/functional/test_search.py @ 2643:2ad50c44b025 beta
when indexing changesets use the raw_id to locate the point from
which to start indexing rather than the revision which can be unreliable.
author | Indra Talip <indra.talip@gmail.com> |
---|---|
date | Sat, 21 Jul 2012 08:20:32 +0200 |
parents | 5f21a9dcb09d |
children | bed929b24f63 |
comparison
equal
deleted
inserted
replaced
2642:88b0e82bcba4 | 2643:2ad50c44b025 |
---|---|
70 response.mustcontain('3803844fdbd3b711175fc3da9bdacfcd6d29a6fb') | 70 response.mustcontain('3803844fdbd3b711175fc3da9bdacfcd6d29a6fb') |
71 | 71 |
72 def test_search_author(self): | 72 def test_search_author(self): |
73 self.log_user() | 73 self.log_user() |
74 response = self.app.get(url(controller='search', action='index'), | 74 response = self.app.get(url(controller='search', action='index'), |
75 {'q': 'author:marcin@python-blog.com revision:0', | 75 {'q': 'author:marcin@python-blog.com raw_id:b986218ba1c9b0d6a259fac9b050b1724ed8e545', |
76 'type': 'commit'}) | 76 'type': 'commit'}) |
77 | 77 |
78 response.mustcontain('1 results') | 78 response.mustcontain('1 results') |