comparison rhodecode/tests/functional/test_search.py @ 1203:6832ef664673 beta

source code cleanup: remove trailing white space, normalize file endings
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 03 Apr 2011 18:23:15 +0200
parents 8acbfa837180
children b7563ad4e7ee
comparison
equal deleted inserted replaced
1202:eef9e273347a 1203:6832ef664673
31 self.log_user() 31 self.log_user()
32 response = self.app.get(url(controller='search', action='index'), {'q':'repository:%s def test' % HG_REPO}) 32 response = self.app.get(url(controller='search', action='index'), {'q':'repository:%s def test' % HG_REPO})
33 print response.body 33 print response.body
34 assert '4 results' in response.body, 'no message about proper search results' 34 assert '4 results' in response.body, 'no message about proper search results'
35 assert 'Permission denied' not in response.body, 'Wrong permissions settings for that repo and user' 35 assert 'Permission denied' not in response.body, 'Wrong permissions settings for that repo and user'
36