devtools/test/unittest_httptest.py
changeset 6366 1806148d6ce8
parent 6340 470d8e828fda
child 6424 f443a2b8a5c7
--- a/devtools/test/unittest_httptest.py	Thu Sep 23 23:28:58 2010 +0200
+++ b/devtools/test/unittest_httptest.py	Wed Sep 29 16:16:32 2010 +0200
@@ -15,7 +15,7 @@
 
     def test_response_anon(self):
         response = self.web_get()
-        self.assertEquals(response.status, httplib.OK)
+        self.assertEqual(response.status, httplib.OK)
 
 
     def test_base_url(self):
@@ -29,20 +29,20 @@
 
     def test_response_denied(self):
         response = self.web_get()
-        self.assertEquals(response.status, httplib.FORBIDDEN)
+        self.assertEqual(response.status, httplib.FORBIDDEN)
 
     def test_login(self):
         response = self.web_get()
         if response.status != httplib.FORBIDDEN:
-             self.skip('Already authenticated')
+             self.skipTest('Already authenticated')
         # login
         self.web_login(self.admlogin, self.admpassword)
         response = self.web_get()
-        self.assertEquals(response.status, httplib.OK, response.body)
+        self.assertEqual(response.status, httplib.OK, response.body)
         # logout
         self.web_logout()
         response = self.web_get()
-        self.assertEquals(response.status, httplib.FORBIDDEN, response.body)
+        self.assertEqual(response.status, httplib.FORBIDDEN, response.body)