X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/3183652e5dd661da1569c758f6a3f2fb7fe9fd27..b8c20c493eb7f74b312d79d3c15e65a1ff560949:/tasklib/tests.py diff --git a/tasklib/tests.py b/tasklib/tests.py index a78f25c..19950a6 100644 --- a/tasklib/tests.py +++ b/tasklib/tests.py @@ -939,12 +939,12 @@ class AnnotationTest(TasklibTest): class UnicodeTest(TasklibTest): def test_unicode_task(self): - Task(self.tw, description="†åßk").save() + Task(self.tw, description=six.u("†åßk")).save() self.tw.tasks.get() def test_filter_by_unicode_task(self): - Task(self.tw, description="†åßk").save() - tasks = self.tw.tasks.filter(description="†åßk") + Task(self.tw, description=six.u("†åßk")).save() + tasks = self.tw.tasks.filter(description=six.u("†åßk")) self.assertEqual(len(tasks), 1) def test_non_unicode_task(self):