Xqt created this task.
Xqt added projects: Pywikibot-core, Pywikibot-tests, Pywikibot-i18n.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

The current libraries doesn't recognize the right group numbers therefore isbn_test fails:

16:45:18 
16:45:18 ======================================================================
16:45:18 FAIL: Test ISBN.
16:45:18 ----------------------------------------------------------------------
16:45:18 Traceback (most recent call last):
16:45:18   File "/mnt/jenkins-workspace/workspace/pywikibot-core-tox-nose/tests/isbn_tests.py", line 55, in test_valid_isbn
16:45:18     self.assertEqual(text, ' ISBN 978-3-95539-063-1 ')
16:45:18 AssertionError: u' ISBN 978-3-9553906-3-1 ' != u' ISBN 978-3-95539-063-1 '
16:45:18 -  ISBN 978-3-9553906-3-1 
16:45:18 ?                    -
16:45:18 +  ISBN 978-3-95539-063-1 
16:45:18 ?                  +
16:45:18 
16:45:18 -------------------- >> begin captured logging << --------------------
16:45:18 vcr.cassette: DEBUG: Entering context for cassette at test_valid_isbn (tests.isbn_tests.TestCosmeticChangesISBN).yaml.
16:45:18 py.warnings: WARNING: /mnt/jenkins-workspace/workspace/pywikibot-core-tox-nose/pywikibot/cosmetic_changes.py:157: ImportWarning: package stdnum.isbn not found; using scripts.isbn
16:45:18 py.warnings: WARNING: /mnt/jenkins-workspace/workspace/pywikibot-core-tox-nose/pywikibot/cosmetic_changes.py:157: ImportWarning: package stdnum.isbn not found; using scripts.isbn
16:45:18 py.warnings: WARNING: /mnt/jenkins-workspace/workspace/pywikibot-core-tox-nose/pywikibot/cosmetic_changes.py:157: ImportWarning: package stdnum.isbn not found; using scripts.isbn
16:45:18 --------------------- >> end captured logging << ---------------------
16:45:18 
16:45:18 ======================================================================
16:45:18 FAIL: Test things that apply both to ISBN10 and ISBN13.
16:45:18 ----------------------------------------------------------------------
16:45:18 Traceback (most recent call last):
16:45:18   File "/mnt/jenkins-workspace/workspace/pywikibot-core-tox-nose/tests/isbn_tests.py", line 148, in test_general
16:45:18     'ISBN 979-10-91447-08-9')
16:45:18 AssertionError: u'ISBN 979-1-09-144708-9' != u'ISBN 979-10-91447-08-9'
16:45:18 - ISBN 979-1-09-144708-9
16:45:18 ?            - -
16:45:18 + ISBN 979-10-91447-08-9
16:45:18 ?           +      +
16:45:18 
16:45:18 -------------------- >> begin captured logging << --------------------
16:45:18 vcr.cassette: DEBUG: Entering context for cassette at test_general (tests.isbn_tests.TestIsbn).yaml.
16:45:18 --------------------- >> end captured logging << ---------------------
16:45:18 
16:45:18 ======================================================================
16:45:18 FAIL: Test ISBN13 with prefix 979.
16:45:18 ----------------------------------------------------------------------
16:45:18 Traceback (most recent call last):
16:45:18   File "/mnt/jenkins-workspace/workspace/pywikibot-core-tox-nose/tests/isbn_tests.py", line 130, in test_isbn13_979
16:45:18     self.assertEqual(isbn.code, '979-10-91447-08-9')
16:45:18 AssertionError: u'979-1-09-144708-9' != u'979-10-91447-08-9'
16:45:18 - 979-1-09-144708-9
16:45:18 ?       - -
16:45:18 + 979-10-91447-08-9
16:45:18 ?      +      +
16:45:18 
16:45:18 -------------------- >> begin captured logging << --------------------
16:45:18 vcr.cassette: DEBUG: Entering context for cassette at test_isbn13_979 (tests.isbn_tests.TestIsbn).yaml.
16:45:18 --------------------- >> end captured logging << ---------------------
16:45:18

TASK DETAIL
https://phabricator.wikimedia.org/T144288

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Xqt, Mdupont, JJMC89, jayvdb
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to