Parent: [67df1e] (diff)

Child: [ddf08c] (diff)

Download this file

test_search.py    14 lines (8 with data), 366 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
from allura.tests import TestController
class TestSearch(TestController):
def test_global_search_controller(self):
r = self.app.get('/gsearch/')
r = self.app.get('/gsearch/', params=dict(q='Root'))
def test_project_search_controller(self):
r = self.app.get('/search/')
r = self.app.get('/search/', params=dict(q='Root'))