X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/17a9ed3b7ef12e0786ddf46bf8a52b1087224762..fc7a8368b6033616780d563149d78db33b6b91a3:/tests/test_pdf.py?ds=sidebyside diff --git a/tests/test_pdf.py b/tests/test_pdf.py index 75b73bc..5b2dba1 100644 --- a/tests/test_pdf.py +++ b/tests/test_pdf.py @@ -3,7 +3,6 @@ # This file is part of Librarian, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # -import re from tempfile import NamedTemporaryFile from nose.tools import * from librarian import DirDocProvider @@ -22,7 +21,5 @@ def test_transform(): print tex # Check contributor list. - editors = re.search(ur'\\def\\editors\{' - ur'Opracowanie redakcyjne i przypisy: ([^}]*?)\.\s*\}', tex) - assert_equal(editors.group(1), - u"Adam Fikcyjny, Aleksandra Sekuła, Olga Sutkowska") + editors = re.search(ur'\\def\\editors\{Opracowanie redakcyjne i przypisy: ([^}]*?)\.\s*\}', tex) + assert_equal(editors.group(1), u"Adam Fikcyjny, Aleksandra Sekuła, Olga Sutkowska")