##// END OF EJS Templates
changed the tests for search....
marcink -
r2740:8ee8f4dc beta
parent child Browse files
Show More
@@ -69,7 +69,22 class TestSearchController(TestControlle
69 69 {'q': 'changed:tests/utils.py',
70 70 'type': 'commit'})
71 71
72 response.mustcontain('a00c1b6f5d7a6ae678fd553a8b81d92367f7ecf1')
72 response.mustcontain('20 results')
73
74 def test_search_commit_changed_files_get_commit(self):
75 self.log_user()
76 response = self.app.get(url(controller='search', action='index'),
77 {'q': 'changed:vcs/utils/lazy.py',
78 'type': 'commit'})
79
80 response.mustcontain('7 results')
81 response.mustcontain('36e0fc9d2808c5022a24f49d6658330383ed8666')
82 response.mustcontain('af182745859d779f17336241a0815d15166ae1ee')
83 response.mustcontain('17438a11f72b93f56d0e08e7d1fa79a378578a82')
84 response.mustcontain('33fa3223355104431402a888fa77a4e9956feb3e')
85 response.mustcontain('d1f898326327e20524fe22417c22d71064fe54a1')
86 response.mustcontain('fe568b4081755c12abf6ba673ba777fc02a415f3')
87 response.mustcontain('bafe786f0d8c2ff7da5c1dcfcfa577de0b5e92f1')
73 88
74 89 def test_search_commit_added_file(self):
75 90 self.log_user()
@@ -96,4 +111,4 class TestSearchController(TestControlle
96 111 response = self.app.get(url(controller='search', action='index'),
97 112 {'q': 'README.rst', 'type': 'path'})
98 113
99 response.mustcontain('2 results') No newline at end of file
114 response.mustcontain('2 results')
General Comments 0
You need to be logged in to leave comments. Login now