[web test] fix test name conflict stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 16 Feb 2011 17:59:58 +0100
branchstable
changeset 7000 09e32d10e6bc
parent 6996 86214f0da14f
child 7003 6eeed1e9782c
[web test] fix test name conflict
web/test/unittest_views_navigation.py
--- a/web/test/unittest_views_navigation.py	Wed Feb 16 08:54:09 2011 +0100
+++ b/web/test/unittest_views_navigation.py	Wed Feb 16 17:59:58 2011 +0100
@@ -58,7 +58,7 @@
         navcomp = self.vreg['components'].select('navigation', req, rset=rset, page_size=20)
         self.assertIsInstance(navcomp, PageNavigationSelect)
 
-    def test_navigation_selection_not_enough(self):
+    def test_navigation_selection_not_enough_1(self):
         req = self.request()
         rset = self.execute('Any X,N LIMIT 10 WHERE X name N')
         navcomp = self.vreg['components'].select_or_none('navigation', req, rset=rset)
@@ -68,7 +68,7 @@
         self.assertEqual(navcomp, None)
         req.set_search_state('normal')
 
-    def test_navigation_selection_not_enough(self):
+    def test_navigation_selection_not_enough_2(self):
         req = self.request()
         rset = self.execute('Any N, COUNT(RDEF) GROUPBY N ORDERBY N WHERE RDEF relation_type RT, RT name N')
         navcomp = self.vreg['components'].select('navigation', req, rset=rset)