DeprecationWarning: Please use assertEqual instead.
--- a/cubicweb/hooks/test/unittest_synccomputed.py Wed Dec 18 06:01:13 2019 +0100
+++ b/cubicweb/hooks/test/unittest_synccomputed.py Tue Dec 17 21:20:46 2019 +0100
@@ -74,10 +74,10 @@
self.assertEqual(len(values), 2)
values = set((rdef.formula, tuple(v))
for rdef, v in values.items())
- self.assertEquals(values,
- set((('Any 2014 - D WHERE X birth_year D', tuple(('birth_year',))),
- ('Any SUM(SA) GROUPBY X WHERE P works_for X, P salary SA', tuple(('salary',)))))
- )
+ self.assertEqual(values,
+ set((('Any 2014 - D WHERE X birth_year D', tuple(('birth_year',))),
+ ('Any SUM(SA) GROUPBY X WHERE P works_for X, P salary SA', tuple(('salary',)))))
+ )
class ComputedAttributeTC(CubicWebTC):