Mercurial > kallithea
diff rhodecode/tests/functional/test_search.py @ 2718:82fb2a161ddf beta
fixes issue #524
- fixed search by filename
- added missing test for this search
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 16 Aug 2012 11:05:04 +0200 |
parents | bed929b24f63 |
children | 8ee8f4dc16df |
line wrap: on
line diff
--- a/rhodecode/tests/functional/test_search.py Wed Aug 15 18:25:38 2012 +0200 +++ b/rhodecode/tests/functional/test_search.py Thu Aug 16 11:05:04 2012 +0200 @@ -90,3 +90,10 @@ 'type': 'commit'}) response.mustcontain('1 results') + + def test_search_file_name(self): + self.log_user() + response = self.app.get(url(controller='search', action='index'), + {'q': 'README.rst', 'type': 'path'}) + + response.mustcontain('2 results') \ No newline at end of file