This commit is contained in:
Martin Zimmermann 2014-05-24 10:34:46 +02:00
parent a5e1dcc225
commit fcc4cd63b4
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# -*- encoding: utf-8 -*-
from __future__ import division, print_function
from __future__ import division, print_function, unicode_literals
import sys
import os

View File

@ -48,7 +48,7 @@ class TestMigration(unittest.TestCase):
db = SQLite3(xxx.name, Config.load(None))
WordPress(db, xml).migrate()
self.assertEqual(db.threads["/2014/test/"]["title"], "Hello, World!")
self.assertEqual(db.threads["/2014/test/"]["title"], "Hello, World")
self.assertEqual(db.threads["/2014/test/"]["id"], 1)
self.assertEqual(db.threads["/?p=4"]["title"], "...")

View File

@ -11,7 +11,7 @@
-->
<channel>
<item>
<title>Hello, World!</title>
<title>Hello, World</title>
<link>http://example.tld/2014/test/</link>
<pubDate>Tue, 14 Jan 2014 17:31:03 +0000</pubDate>
<dc:creator><![CDATA[Tester]]></dc:creator>