# HG changeset patch # User Sylvain Thénault # Date 1297875598 -3600 # Node ID 09e32d10e6bcaeeea407cd7deab5eedd19505a43 # Parent 86214f0da14f6ae5c8c8a57a3a0351f261d23b49 [web test] fix test name conflict diff -r 86214f0da14f -r 09e32d10e6bc 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)