diff -r e10468a23291 -r 00cd0b273cf5 etwist/test/unittest_server.py --- a/etwist/test/unittest_server.py Fri Oct 22 15:01:54 2010 +0200 +++ b/etwist/test/unittest_server.py Fri Oct 22 16:01:54 2010 +0200 @@ -15,9 +15,6 @@ # # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . -""" - -""" from cubicweb.devtools.testlib import CubicWebTC from cubicweb.etwist.server import host_prefixed_baseurl @@ -25,9 +22,9 @@ class HostPrefixedBaseURLTC(CubicWebTC): def _check(self, baseurl, host, waited): - self.assertEquals(host_prefixed_baseurl(baseurl, host), waited, - 'baseurl %s called through host %s should be considered as %s' - % (baseurl, host, waited)) + self.assertEqual(host_prefixed_baseurl(baseurl, host), waited, + 'baseurl %s called through host %s should be considered as %s' + % (baseurl, host, waited)) def test1(self): self._check('http://www.cubicweb.org/hg/', 'code.cubicweb.org',