changeset 4741:ab70e33b037c

test_packages: specified title search
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Wed, 03 Jun 2009 19:28:08 +0200
parents 97601c1c1cdd
children 8f913a5ac5f1 d89ff2851ade a7a763c042f0
files MoinMoin/_tests/test_packages.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/_tests/test_packages.py	Mon Jun 01 21:39:38 2009 +0200
+++ b/MoinMoin/_tests/test_packages.py	Wed Jun 03 19:28:08 2009 +0200
@@ -91,7 +91,7 @@
 
     def testSearch(self):
         package = PackagePages(self.request.rootpage.page_name, self.request)
-        assert package.searchpackage(self.request, "BadCon") == [u'BadContent']
+        assert package.searchpackage(self.request, "title:BadCon") == [u'BadContent']
 
     def testListCreate(self):
         package = PackagePages(self.request.rootpage.page_name, self.request)