diff -r f4d1d5d9ccbb -r 90f2f20367bc web/test/test_views.py --- a/web/test/test_views.py Tue Jul 27 12:36:03 2010 +0200 +++ b/web/test/test_views.py Wed Nov 03 16:38:28 2010 +0100 @@ -15,9 +15,7 @@ # # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . -"""automatic tests - -""" +"""automatic tests""" from cubicweb.devtools.testlib import CubicWebTC, AutoPopulateTest, AutomaticWebTest from cubicweb.view import AnyRsetView @@ -68,7 +66,7 @@ self.vreg.register(SomeView) rset = self.execute('CWUser X') source = self.view('someview', rset).source - self.assertEquals(source.count('spam.js'), 1) + self.assertEqual(source.count('spam.js'), 1)