Commits

Mikhail Korobov committed 42f6e79

use assertEqual instead of deprecated assertEquals

  • Participants
  • Parent commits 8356c13

Comments (0)

Files changed (1)

django_webtest_tests/testapp_tests/tests.py

     def test_session_not_set(self):
         response = self.app.get('/')
         self.assertEqual(response.status_int, 200)
-        self.assertEquals({}, self.app.session)
+        self.assertEqual({}, self.app.session)
 
     def test_sessions_disabled(self):
         from django.conf import settings
 
         response = self.app.get('/')
         self.assertEqual(response.status_int, 200)
-        self.assertEquals({}, self.app.session)
+        self.assertEqual({}, self.app.session)
 
     def test_session_not_empty(self):
         response = self.app.get(reverse('set_session'))
-        self.assertEquals('foo', self.app.session['test'])
+        self.assertEqual('foo', self.app.session['test'])