Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Saller <bcsaller@objectrealms.net>2007-05-24 20:33:36 (GMT)
committer Benjamin Saller <bcsaller@objectrealms.net>2007-05-24 20:33:36 (GMT)
commit7a1f36df9c985ff8673aa641780acfa2eb13b00f (patch)
tree9d888c26c2675c02d4369892ea7efedd978c6d99 /tests
parent21d417aaad16e97388b312a24fc84eff2b187a4a (diff)
fix up the unicode handling when the output is already utf-8
Diffstat (limited to 'tests')
-rw-r--r--tests/plugger.pdfbin0 -> 17681 bytes
-rw-r--r--tests/test_conversion.py3
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/plugger.pdf b/tests/plugger.pdf
new file mode 100644
index 0000000..737dab2
--- /dev/null
+++ b/tests/plugger.pdf
Binary files differ
diff --git a/tests/test_conversion.py b/tests/test_conversion.py
index aae6fc0..e3fe0e7 100644
--- a/tests/test_conversion.py
+++ b/tests/test_conversion.py
@@ -27,7 +27,8 @@ class Test(unittest.TestCase):
fn_expectations = {
'test.pdf' : 'Don\'t',
'test.doc' : 'amazed.',
- 'test.odt' : 'amazed.'
+ 'test.odt' : 'amazed.',
+ 'plugger.pdf' : 'Plugger'
}
for fn, expect in fn_expectations.iteritems():
assert expect in converter(fn).read()