From: Radek Czajka Date: Mon, 6 Oct 2014 10:55:12 +0000 (+0200) Subject: Disable test for unsupported behaviour in pictures. X-Git-Tag: 1.7~94 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/14fbd48817ba27853a45164908d10ed679acac6e?hp=2c73c162844627d26991915fecc7e39f02bc34b8 Disable test for unsupported behaviour in pictures. --- diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 54c0b24..0000000 --- a/setup.cfg +++ /dev/null @@ -1,9 +0,0 @@ -[nosetests] -detailed-errors=1 -with-coverage=1 -cover-package=librarian -cover-erase=1 -with-doctest=1 -exclude= - formats - tests,test_html_annotations diff --git a/tests/files/picture/angelus-novus.xml b/tests/files/picture/angelus-novus.xml index 964faed..85fa554 100644 --- a/tests/files/picture/angelus-novus.xml +++ b/tests/files/picture/angelus-novus.xml @@ -36,7 +36,7 @@
-
+ diff --git a/tests/test_picture.py b/tests/test_picture.py index f64f624..1169f44 100644 --- a/tests/test_picture.py +++ b/tests/test_picture.py @@ -42,7 +42,8 @@ def test_wlpicture(): def test_picture_parts(): wlp = picture.WLPicture.from_file(open(get_fixture('picture', 'angelus-novus.xml'))) parts = list(wlp.partiter()) - assert len(parts) == 5, "there should be %d parts of the picture" % 5 + expect_parts = 4 + assert len(parts) == expect_parts, "there should be %d parts of the picture" % expect_parts motifs = set() names = set()