Fix Python 2.7 unicode problem
This commit is contained in:
parent
3fd03572e4
commit
06a4d2b395
@ -1,3 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from django.db import models
|
||||
from django.contrib.auth.models import User
|
||||
from django.utils import timezone
|
||||
|
@ -1,3 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from django.test import TestCase, Client
|
||||
from django.utils import timezone
|
||||
from django.conf import settings
|
||||
@ -260,7 +261,7 @@ class SimilarCompTest(TestCase):
|
||||
l = Competence.get_similar_comps('pzthon')
|
||||
self.assertEquals(len(l), 1)
|
||||
|
||||
l = Competence.get_similar_comps('kreativitás')
|
||||
l = Competence.get_similar_comps(u'kreativitás')
|
||||
self.assertEqual(len(l), 1)
|
||||
|
||||
def test_bad_similar_competence(self):
|
||||
|
Loading…
Reference in New Issue
Block a user