diff rhodecode/tests/functional/test_search.py @ 2459:9492ab68331f beta

Initial version of landing revisions ref #483 - fixed relevant tests for creation of repo - added some tests for git
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 14 Jun 2012 23:19:26 +0200
parents 402a96fcfa22
children 5f21a9dcb09d
line wrap: on
line diff
--- a/rhodecode/tests/functional/test_search.py	Thu Jun 14 13:32:58 2012 +0200
+++ b/rhodecode/tests/functional/test_search.py	Thu Jun 14 23:19:26 2012 +0200
@@ -1,5 +1,5 @@
+import os
 from rhodecode.tests import *
-import os
 from nose.plugins.skip import SkipTest
 
 
@@ -27,8 +27,7 @@
         self.log_user()
         response = self.app.get(url(controller='search', action='index'),
                                 {'q': 'def repo'})
-        response.mustcontain('10 results')
-        response.mustcontain('Permission denied')
+        response.mustcontain('39 results')
 
     def test_repo_search(self):
         self.log_user()
@@ -36,4 +35,3 @@
                                 {'q': 'repository:%s def test' % HG_REPO})
 
         response.mustcontain('4 results')
-        response.mustcontain('Permission denied')