X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/12b5230d8fdb3ad995e867fb5d58a69e8a627e68..22335f3a7ebc694d97e7e0b6f38311e3aef56879:/tests/test_picture.py diff --git a/tests/test_picture.py b/tests/test_picture.py index 00b03ce..7d12b1d 100644 --- a/tests/test_picture.py +++ b/tests/test_picture.py @@ -3,6 +3,8 @@ # This file is part of Librarian, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # +from __future__ import unicode_literals + from librarian import picture, dcparser from tests.utils import get_all_fixtures, get_fixture from os import path @@ -34,7 +36,7 @@ def test_wlpicture(): assert path.exists(wlp.image_path) - f = wlp.image_file('r') + f = wlp.image_file() f.close() @@ -46,7 +48,6 @@ def test_picture_parts(): motifs = set() names = set() - print parts for p in parts: for m in p['themes']: motifs.add(m)