fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes in the experimental converters.
[librarian.git]
/
tests
/
test_picture.py
diff --git
a/tests/test_picture.py
b/tests/test_picture.py
index
00b03ce
..
7d12b1d
100644
(file)
--- 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.
#
# 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
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)
assert path.exists(wlp.image_path)
- f = wlp.image_file(
'r'
)
+ f = wlp.image_file()
f.close()
f.close()
@@
-46,7
+48,6
@@
def test_picture_parts():
motifs = set()
names = set()
motifs = set()
names = set()
- print parts
for p in parts:
for m in p['themes']:
motifs.add(m)
for p in parts:
for m in p['themes']:
motifs.add(m)