Removed unneeded force_text calls in the test suite

This commit is contained in:
Claude Paroz 2017-01-24 12:22:42 +01:00
parent 5b95d421f7
commit 2366100872
32 changed files with 132 additions and 165 deletions

View file

@ -33,7 +33,6 @@ from django.test import (
)
from django.test.utils import patch_logger
from django.utils import timezone
from django.utils.encoding import force_text
from .models import SessionStore as CustomDatabaseSession
@ -388,7 +387,7 @@ class DatabaseSessionTests(SessionTestsMixin, TestCase):
session_key = self.session.session_key
s = self.model.objects.get(session_key=session_key)
self.assertEqual(force_text(s), session_key)
self.assertEqual(str(s), session_key)
def test_session_get_decoded(self):
"""