Exemple #1
0
 def test_table_of_bugs(self):
     """Check search for bugs"""
     wfile = self.get_wfile()
     templates.search_form(wfile, "a path", {},
                           ["a status"],
                           ["a priority"],
                           ["a resolution"],
                           ["a category"],
                           ["a keyword"],
                           ["a version"])
     self.assert_(self.is_well_formed(wfile))
Exemple #2
0
 def _search_form(self, wfile, values):
     templates.bullets(
         wfile,
         'All criteria are combined with "And".',
         'Blank fields are ignored.',
         'Searches are case insensitive.',
         'The "regex" fields are for advanced searches '
         '(and may be ignored).')
     templates.search_form(wfile, self.path, values,
                           [""] + list(self.application.statuses),
                           self.application.priorities,
                           self.application.resolutions,
                           self.application.categories,
                           self.application.keywords,
                           self.application.versions)