Skip to content

Instantly share code, notes, and snippets.

@mtlynch
Created April 29, 2020 01:01
Show Gist options
  • Save mtlynch/74d7905bd7a6075e749cd4a09c736d6b to your computer and use it in GitHub Desktop.
Save mtlynch/74d7905bd7a6075e749cd4a09c736d6b to your computer and use it in GitHub Desktop.
=================================== FAILURES ===================================
_____________________ TestMetaDataEdit.test_edit_metadata ______________________
Traceback (most recent call last):
File "/opt/mediagoblin/mediagoblin/tests/test_edit.py", line 261, in test_edit_metadata
assert context['form'].errors['media_metadata'][0]['identifier'][0] == expected
KeyError: 'identifier'
---------------------------- Captured stdout setup -----------------------------
Laying foundations for __main__:
+ Laying foundations for Privilege table
Laying foundations for __main__:
+ Laying foundations for Privilege table
---------------------------- Captured stderr setup -----------------------------
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.runtime.migration] Running upgrade -> 52bf0ccbedc1, initial revision
INFO [alembic.runtime.migration] Running upgrade 52bf0ccbedc1 -> 101510e3a713, #5382 Removes graveyard items from collections
INFO [alembic.runtime.migration] Running upgrade 101510e3a713 -> 8429e33fdf7, Remove the Graveyard objects from CommentNotification objects
INFO [alembic.runtime.migration] Running upgrade 8429e33fdf7 -> 4066b9f8b84a, use_comment_link_ids_notifications
INFO [alembic.runtime.migration] Running upgrade 4066b9f8b84a -> 3145accb8fe3, remove tombstone comment wrappers
INFO [alembic.runtime.migration] Running upgrade 3145accb8fe3 -> 228916769bd2, ensure Report.object_id is nullable
INFO [alembic.runtime.migration] Running upgrade 52bf0ccbedc1 -> a98c1a320e88, Image media type initial migration
INFO [alembic.runtime.migration] Running upgrade 52bf0ccbedc1 -> 071abb33d1da, OpenID plugin initial migration
INFO [alembic.runtime.migration] Running upgrade 228916769bd2 -> cc3651803714, add main transcoding progress column to MediaEntry
INFO [alembic.runtime.migration] Running upgrade 228916769bd2 -> afd3d1da5e29, Subtitle plugin initial migration
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.runtime.migration] Running upgrade -> 52bf0ccbedc1, initial revision
INFO [alembic.runtime.migration] Running upgrade 52bf0ccbedc1 -> 101510e3a713, #5382 Removes graveyard items from collections
INFO [alembic.runtime.migration] Running upgrade 101510e3a713 -> 8429e33fdf7, Remove the Graveyard objects from CommentNotification objects
INFO [alembic.runtime.migration] Running upgrade 8429e33fdf7 -> 4066b9f8b84a, use_comment_link_ids_notifications
INFO [alembic.runtime.migration] Running upgrade 4066b9f8b84a -> 3145accb8fe3, remove tombstone comment wrappers
INFO [alembic.runtime.migration] Running upgrade 3145accb8fe3 -> 228916769bd2, ensure Report.object_id is nullable
INFO [alembic.runtime.migration] Running upgrade 52bf0ccbedc1 -> a98c1a320e88, Image media type initial migration
INFO [alembic.runtime.migration] Running upgrade 52bf0ccbedc1 -> 071abb33d1da, OpenID plugin initial migration
INFO [alembic.runtime.migration] Running upgrade 228916769bd2 -> cc3651803714, add main transcoding progress column to MediaEntry
INFO [alembic.runtime.migration] Running upgrade 228916769bd2 -> afd3d1da5e29, Subtitle plugin initial migration
=============================== warnings summary ===============================
lib/python3.7/site-packages/PyLD-1.0.5-py3.7.egg/pyld/jsonld.py:4413
/opt/mediagoblin/lib/python3.7/site-packages/PyLD-1.0.5-py3.7.egg/pyld/jsonld.py:4413: DeprecationWarning: invalid escape sequence \?
/opt/mediagoblin/lib/python3.7/site-packages/PyLD-1.0.5-py3.7.egg/pyld/jsonld.py:4413: DeprecationWarning: invalid escape sequence \?
lib/python3.7/site-packages/celery-4.2.2-py3.7.egg/celery/canvas.py:12
/opt/mediagoblin/lib/python3.7/site-packages/celery-4.2.2-py3.7.egg/celery/canvas.py:12: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import MutableSequence, deque
mediagoblin/tests/test_modelmethods.py:157
/opt/mediagoblin/mediagoblin/tests/test_modelmethods.py:157: DeprecationWarning: invalid escape sequence \
"""
-- Docs: https://docs.pytest.org/en/latest/warnings.html
======== 1 failed, 175 passed, 7 skipped, 4 warnings in 150.43 seconds =========
The command '/bin/sh -c ./bin/python -m pytest ./mediagoblin/tests --boxed' returned a non-zero code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment