Skip to content

Instantly share code, notes, and snippets.

@Johnetordoff
Created February 24, 2023 16:45
Show Gist options
  • Save Johnetordoff/47c6fc7a8e3ca0921c033c151eafd8af to your computer and use it in GitHub Desktop.
Save Johnetordoff/47c6fc7a8e3ca0921c033c151eafd8af to your computer and use it in GitHub Desktop.
==================================== ERRORS ====================================
_ ERROR at setup of TestDraftContributorDetail.test_get_contributor_detail_valid_response _
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/pytest_django/plugin.py:513: in _django_db_marker
request.getfixturevalue("db")
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/pytest_django/fixtures.py:105: in django_db_setup
db_cfg = setup_databases(
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/pytest_django/compat.py:15: in wrapped_setup_databases
return setup_databases(*args, time_keeper=NullTimeKeeper(), **kwargs)
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/django/test/utils.py:179: in setup_databases
connection.creation.create_test_db(
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/django/db/backends/base/creation.py:74: in create_test_db
call_command(
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/django/core/management/__init__.py:181: in call_command
return command.execute(*args, **defaults)
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/django/core/management/base.py:398: in execute
output = self.handle(*args, **options)
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/django/core/management/base.py:89: in wrapped
res = handle_func(*args, **kwargs)
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/django/core/management/commands/migrate.py:268: in handle
emit_post_migrate_signal(
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/django/core/management/sql.py:42: in emit_post_migrate_signal
models.signals.post_migrate.send(
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/django/dispatch/dispatcher.py:180: in send
return [
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/django/dispatch/dispatcher.py:181: in <listcomp>
(receiver, receiver(signal=self, sender=sender, **named))
osf/migrations/__init__.py:209: in add_registration_schemas
map_schemas_to_schemablocks()
osf/utils/migrations.py:481: in map_schemas_to_schemablocks
create_schema_block(
osf/utils/migrations.py:207: in create_schema_block
display_text=unescape_entities(
osf/utils/sanitize.py:70: in unescape_entities
if is_iterable_but_not_string(value):
osf/utils/sanitize.py:14: in is_iterable_but_not_string
return (is_iterable(obj) and not hasattr(obj, 'strip'))
osf/utils/sanitize.py:9: in is_iterable
return isinstance(obj, collections.Iterable)
E AttributeError: module 'collections' has no attribute 'Iterable'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment