Python 3.7 Upgrade #100
141 fail, 56 skipped, 5 203 pass in 20m 55s
Annotations
Check warning on line 626 in src/olympia/addons/tests/test_commands.py
github-actions / Python 3.7 Test Results
test_basic (src.olympia.addons.tests.test_commands.TestDeletePersonas) failed
src/test_report3.xml [took 2s]
Raw output
AssertionError: assert [[15878, 1587...15881, 15882]] == [<map object a...7fec34735a90>] At index 0 diff: [15878, 15879, 15880, 15881, 15882] != <map object at 0x7fec34735a90> Full diff: - [[15878, 15879, 15880, 15881, 15882]] + [<map object at 0x7fec34735a90>]
src/olympia/addons/tests/test_commands.py:725: in test_basic
assert calls[0]['kwargs']['args'] == [personas_pk]
E AssertionError: assert [[15878, 1587...15881, 15882]] == [<map object a...7fec34735a90>]
E At index 0 diff: [15878, 15879, 15880, 15881, 15882] != <map object at 0x7fec34735a90>
E Full diff:
E - [[15878, 15879, 15880, 15881, 15882]]
E + [<map object at 0x7fec34735a90>]
Check warning on line 752 in src/olympia/addons/tests/test_commands.py
github-actions / Python 3.7 Test Results
test_basic (src.olympia.addons.tests.test_commands.TestOutputPersonas) failed
src/test_report3.xml [took 7s]
Raw output
TypeError: a bytes-like object is required, not 'str'
src/olympia/addons/tests/test_commands.py:776: in test_basic
self.make_the_call()
src/olympia/addons/tests/test_commands.py:751: in make_the_call
task='output_personas')
venv3/lib/python3.7/site-packages/django/core/management/__init__.py:131: in call_command
return command.execute(*args, **defaults)
venv3/lib/python3.7/site-packages/django/core/management/base.py:330: in execute
output = self.handle(*args, **options)
src/olympia/addons/management/commands/process_addons.py:185: in handle
ts.apply_async()
venv3/lib/python3.7/site-packages/celery/canvas.py:1083: in apply_async
return self.apply(args, kwargs, **options)
venv3/lib/python3.7/site-packages/celery/canvas.py:1118: in apply
sig.apply(args=args, kwargs=kwargs, **options) for sig, _ in tasks
venv3/lib/python3.7/site-packages/celery/canvas.py:1118: in <listcomp>
sig.apply(args=args, kwargs=kwargs, **options) for sig, _ in tasks
venv3/lib/python3.7/site-packages/celery/canvas.py:202: in apply
return self.type.apply(args, kwargs, **options)
src/olympia/amo/celery.py:75: in apply
return super(AMOTask, self).apply(args=args, kwargs=kwargs, **options)
venv3/lib/python3.7/site-packages/celery/app/task.py:776: in apply
ret = tracer(task_id, args, kwargs, request)
venv3/lib/python3.7/site-packages/celery/app/trace.py:429: in trace_task
I, R, state, retval = on_error(task_request, exc, uuid)
venv3/lib/python3.7/site-packages/celery/app/trace.py:412: in trace_task
R = retval = fun(*args, **kwargs)
src/olympia/amo/decorators.py:109: in wrapper
return f(*args, **kw)
src/olympia/addons/tasks.py:756: in output_personas
persona_csv.writerow([addon.id, addon.name, addon.get_detail_url()])
E TypeError: a bytes-like object is required, not 'str'
Check warning on line 53 in src/olympia/amo/tests/test_fields.py
github-actions / Python 3.7 Test Results
test_db_field_properties (src.olympia.amo.tests.test_fields.TestPositiveAutoField) failed
src/test_report3.xml [took 0s]
Raw output
AssertionError: assert 'int unsigned' == 'int(10) unsigned' - int unsigned + int(10) unsigned ? ++++
src/olympia/amo/tests/test_fields.py:64: in test_db_field_properties
assert column_type == 'int(10) unsigned'
E AssertionError: assert 'int unsigned' == 'int(10) unsigned'
E - int unsigned
E + int(10) unsigned
E ? ++++
Check warning on line 289 in src/olympia/amo/tests/test_send_mail.py
github-actions / Python 3.7 Test Results
test_async_will_stop_retrying (src.olympia.amo.tests.test_send_mail.TestSendMail) failed
src/test_report3.xml [took 0s]
Raw output
celery.exceptions.Retry: Retry in 180s
src/olympia/amo/tasks.py:34: in send_email
result.send()
src/olympia/amo/tests/test_send_mail.py:263: in send
raise RuntimeError('uh oh')
E RuntimeError: uh oh
During handling of the above exception, another exception occurred:
src/olympia/amo/tests/test_send_mail.py:297: in test_async_will_stop_retrying
recipient_list=['[email protected]'])
src/olympia/amo/utils.py:292: in send_mail
html_message=html_message, attachments=attachments)
src/olympia/amo/utils.py:249: in send
return send_email.delay(*args, **kwargs)
venv3/lib/python3.7/site-packages/celery/app/task.py:426: in delay
return self.apply_async(args, kwargs)
src/olympia/amo/celery.py:68: in apply_async
args=args, kwargs=kwargs, **options)
venv3/lib/python3.7/site-packages/post_request_task/task.py:102: in apply_async
args=args, kwargs=kwargs, **extrakw)
venv3/lib/python3.7/site-packages/post_request_task/task.py:95: in original_apply_async
args=args, kwargs=kwargs, **extrakw)
venv3/lib/python3.7/site-packages/celery/app/task.py:564: in apply_async
link=link, link_error=link_error, **options)
src/olympia/amo/celery.py:75: in apply
return super(AMOTask, self).apply(args=args, kwargs=kwargs, **options)
venv3/lib/python3.7/site-packages/celery/app/task.py:776: in apply
ret = tracer(task_id, args, kwargs, request)
venv3/lib/python3.7/site-packages/celery/app/trace.py:426: in trace_task
task_request, exc, uuid, RETRY, call_errbacks=False)
venv3/lib/python3.7/site-packages/celery/app/trace.py:412: in trace_task
R = retval = fun(*args, **kwargs)
src/olympia/amo/tasks.py:38: in send_email
send_email.retry()
venv3/lib/python3.7/site-packages/celery/app/task.py:719: in retry
raise ret
E celery.exceptions.Retry: Retry in 180s
Check warning on line 345 in src/olympia/bandwagon/tests/test_views.py
github-actions / Python 3.7 Test Results
test_submit (src.olympia.bandwagon.tests.test_views.TestCRUD) failed
src/test_report3.xml [took 0s]
Raw output
AssertionError: assert '/en-US/firef...x90×\x95סף/' == '/en-US/firefo...s/admin/אוסף/' - /en-US/firefox/collections/admin/××סף/ ? ^^^^^^^^ + /en-US/firefox/collections/admin/אוסף/ ? ^^^^
src/olympia/bandwagon/tests/test_views.py:349: in test_submit
assert response.request['PATH_INFO'] == (
E AssertionError: assert '/en-US/firef...x90×\x95סף/' == '/en-US/firefo...s/admin/אוסף/'
E - /en-US/firefox/collections/admin/××סף/
E ? ^^^^^^^^
E + /en-US/firefox/collections/admin/אוסף/
E ? ^^^^
Check warning on line 495 in src/olympia/devhub/tests/test_tasks.py
github-actions / Python 3.7 Test Results
test_run_linter_use_temporary_file (src.olympia.devhub.tests.test_tasks.TestRunAddonsLinter) failed
src/test_report3.xml [took 2s]
Raw output
AssertionError: assert 25 == 45
src/olympia/devhub/tests/test_tasks.py:517: in test_run_linter_use_temporary_file
assert result['warnings'] == 45
E AssertionError: assert 25 == 45
Check warning on line 539 in src/olympia/devhub/tests/test_tasks.py
github-actions / Python 3.7 Test Results
test_amo_validator_fail_error (src.olympia.devhub.tests.test_tasks.TestValidateFilePath) failed
src/test_report3.xml [took 0s]
Raw output
AssertionError: assert not True
src/olympia/devhub/tests/test_tasks.py:544: in test_amo_validator_fail_error
assert not result['success']
E AssertionError: assert not True
Check warning on line 714 in src/olympia/devhub/tests/test_tasks.py
github-actions / Python 3.7 Test Results
test_no_upgrade_annotation_no_version (src.olympia.devhub.tests.test_tasks.TestWebextensionIncompatibilities) failed
src/test_report3.xml [took 0s]
Raw output
AssertionError: assert ['validator',...ed_exception'] == ['testcases_in...issing_addon'] At index 0 diff: 'validator' != 'testcases_installrdf' Right contains more items, first extra item: 'missing_addon' Full diff: - ['validator', 'unexpected_exception'] + ['testcases_installrdf', '_test_rdf', 'missing_addon']
src/olympia/devhub/tests/test_tasks.py:741: in test_no_upgrade_annotation_no_version
assert validation['messages'][0]['id'] == expected
E AssertionError: assert ['validator',...ed_exception'] == ['testcases_in...issing_addon']
E At index 0 diff: 'validator' != 'testcases_installrdf'
E Right contains more items, first extra item: 'missing_addon'
E Full diff:
E - ['validator', 'unexpected_exception']
E + ['testcases_installrdf', '_test_rdf', 'missing_addon']
Check warning on line 1434 in src/olympia/devhub/tests/test_tasks.py
github-actions / Python 3.7 Test Results
test_validation_finishes_if_containing_binary_content (src.olympia.devhub.tests.test_tasks.TestAPIKeyInSubmission) failed
src/test_report3.xml [took 0s]
Raw output
AssertionError: assert [{'descriptio...".', ...}] == [] Left contains more items, first extra item: {'description': ['The "applications" property in the manifest is deprecated and will no longer be accepted in ...PPLICATIONS_DEPRECATED'], 'message': 'Use "browser_specific_settings" instead of "applications".', ...} Full diff: + [] - [{'description': ['The "applications" property in the manifest is ' - 'deprecated and will no longer be accepted in Manifest ' - 'Version 3 and above.'], - 'file': 'manifest.json',... ...Full output truncated (7 lines hidden), use '-vv' to show
src/olympia/devhub/tests/test_tasks.py:1443: in test_validation_finishes_if_containing_binary_content
assert upload.processed_validation['messages'] == []
E AssertionError: assert [{'descriptio...".', ...}] == []
E Left contains more items, first extra item: {'description': ['The "applications" property in the manifest is deprecated and will no longer be accepted in ...PPLICATIONS_DEPRECATED'], 'message': 'Use "browser_specific_settings" instead of "applications".', ...}
E Full diff:
E + []
E - [{'description': ['The "applications" property in the manifest is '
E - 'deprecated and will no longer be accepted in Manifest '
E - 'Version 3 and above.'],
E - 'file': 'manifest.json',...
E
E ...Full output truncated (7 lines hidden), use '-vv' to show
Check warning on line 147 in src/olympia/devhub/tests/test_utils.py
github-actions / Python 3.7 Test Results
test_search_plugin (src.olympia.devhub.tests.test_utils.TestValidatorListed) failed
src/test_report3.xml [took 0s]
Raw output
AssertionError: Expected call: subtask(['/data/olympia/src/olympia/../../src/olympia/devhub/tests/addons/desktop.xpi'], {'hash_': '', 'listed': True, 'is_webextension': False}) Actual call: subtask(['/data/olympia/src/olympia/../../src/olympia/devhub/tests/addons/desktop.xpi'], {'hash_': '', 'listed': True, 'is_webextension': False, 'is_experiment': False})
src/olympia/devhub/tests/test_utils.py:163: in test_search_plugin
self.check_upload(self.file_upload)
src/olympia/devhub/tests/test_utils.py:72: in check_upload
'is_webextension': False})
venv3/lib/python3.7/site-packages/mock/mock.py:948: in assert_called_once_with
return self.assert_called_with(*args, **kwargs)
venv3/lib/python3.7/site-packages/mock/mock.py:937: in assert_called_with
six.raise_from(AssertionError(_error_message(cause)), cause)
<string>:3: in raise_from
???
E AssertionError: Expected call: subtask(['/data/olympia/src/olympia/../../src/olympia/devhub/tests/addons/desktop.xpi'], {'hash_': '', 'listed': True, 'is_webextension': False})
E Actual call: subtask(['/data/olympia/src/olympia/../../src/olympia/devhub/tests/addons/desktop.xpi'], {'hash_': '', 'listed': True, 'is_webextension': False, 'is_experiment': False})
Check warning on line 885 in src/olympia/devhub/tests/test_views.py
github-actions / Python 3.7 Test Results
test_fileupload_validation (src.olympia.devhub.tests.test_views.TestUpload) failed
src/test_report3.xml [took 0s]
Raw output
AssertionError: {"errors": 1, "warnings": 0, "notices": 0, "success": true, "compatibility_summary": {"notices": 0, "errors": 0, "warnings": 0}, "metadata": {"requires_chrome": false, "listed": true}, "messages": [{"id": ["validator", "unexpected_exception"], "message": "Sorry, we couldn't load your add-on.", "description": ["Validation was unable to complete successfully due to an unexpected error.", "The error has been logged, but please consider filing an issue report here: http://bit.ly/1POrYYU"], "type": "error", "tier": 1, "for_appversions": null, "uid": "35432f419340461897aa8362398339c4"}], "message_tree": {}, "detected_type": "extension", "ending_tier": 5} assert not True
src/olympia/devhub/tests/test_views.py:892: in test_fileupload_validation
assert not validation['success'], upload.validation
E AssertionError: {"errors": 1, "warnings": 0, "notices": 0, "success": true, "compatibility_summary": {"notices": 0, "errors": 0, "warnings": 0}, "metadata": {"requires_chrome": false, "listed": true}, "messages": [{"id": ["validator", "unexpected_exception"], "message": "Sorry, we couldn't load your add-on.", "description": ["Validation was unable to complete successfully due to an unexpected error.", "The error has been logged, but please consider filing an issue report here: http://bit.ly/1POrYYU"], "type": "error", "tier": 1, "for_appversions": null, "uid": "35432f419340461897aa8362398339c4"}], "message_tree": {}, "detected_type": "extension", "ending_tier": 5}
E assert not True
Check warning on line 913 in src/olympia/devhub/tests/test_views.py
github-actions / Python 3.7 Test Results
test_upload_unlisted_addon (src.olympia.devhub.tests.test_views.TestUpload) failed
src/test_report3.xml [took 0s]
Raw output
AttributeError: module 'types' has no attribute 'StringTypes'
venv3/lib/python3.7/site-packages/mock/mock.py:1197: in _dot_lookup
return getattr(thing, comp)
E AttributeError: module 'validator' has no attribute 'validate'
During handling of the above exception, another exception occurred:
venv3/lib/python3.7/site-packages/mock/mock.py:1297: in patched
arg = patching.__enter__()
venv3/lib/python3.7/site-packages/mock/mock.py:1353: in __enter__
self.target = self.getter()
venv3/lib/python3.7/site-packages/mock/mock.py:1523: in <lambda>
getter = lambda: _importer(target)
venv3/lib/python3.7/site-packages/mock/mock.py:1210: in _importer
thing = _dot_lookup(thing, comp, import_path)
venv3/lib/python3.7/site-packages/mock/mock.py:1199: in _dot_lookup
__import__(import_path)
venv3/lib/python3.7/site-packages/validator/validate.py:5: in <module>
from . import constants
venv3/lib/python3.7/site-packages/validator/constants.py:9: in <module>
DESCRIPTION_TYPES = types.StringTypes + (list, tuple, )
E AttributeError: module 'types' has no attribute 'StringTypes'
Check warning on line 1257 in src/olympia/devhub/tests/test_views.py
github-actions / Python 3.7 Test Results
test_akismet_reports_created_ham_outcome (src.olympia.devhub.tests.test_views.TestUploadDetail) failed
src/test_report3.xml [took 1s]
Raw output
TypeError: a bytes-like object is required, not 'str'
src/olympia/devhub/tests/test_views.py:1273: in test_akismet_reports_created_ham_outcome
assert 'spam' not in response.content
E TypeError: a bytes-like object is required, not 'str'
Check warning on line 1298 in src/olympia/devhub/tests/test_views.py
github-actions / Python 3.7 Test Results
test_akismet_reports_created_l10n (src.olympia.devhub.tests.test_views.TestUploadDetail) failed
src/test_report3.xml [took 1s]
Raw output
TypeError: a bytes-like object is required, not 'str'
src/olympia/devhub/tests/test_views.py:1324: in test_akismet_reports_created_l10n
assert 'spam' not in response.content
E TypeError: a bytes-like object is required, not 'str'
Check warning on line 1274 in src/olympia/devhub/tests/test_views.py
github-actions / Python 3.7 Test Results
test_akismet_reports_created_spam_outcome (src.olympia.devhub.tests.test_views.TestUploadDetail) failed
src/test_report3.xml [took 0s]
Raw output
TypeError: a bytes-like object is required, not 'str'
src/olympia/devhub/tests/test_views.py:1292: in test_akismet_reports_created_spam_outcome
assert 'spam' in response.content
E TypeError: a bytes-like object is required, not 'str'
Check warning on line 1223 in src/olympia/devhub/tests/test_views.py
github-actions / Python 3.7 Test Results
test_legacy_langpacks_disallowed (src.olympia.devhub.tests.test_views.TestUploadDetail) failed
src/test_report3.xml [took 0s]
Raw output
AssertionError: assert ['validator',...ed_exception'] == ['validation',...s_disallowed'] At index 0 diff: 'validator' != 'validation' Right contains more items, first extra item: 'legacy_langpacks_disallowed' Full diff: - ['validator', 'unexpected_exception'] + ['validation', 'messages', 'legacy_langpacks_disallowed']
src/olympia/devhub/tests/test_views.py:1232: in test_legacy_langpacks_disallowed
assert data['validation']['messages'][0]['id'] == [
E AssertionError: assert ['validator',...ed_exception'] == ['validation',...s_disallowed']
E At index 0 diff: 'validator' != 'validation'
E Right contains more items, first extra item: 'legacy_langpacks_disallowed'
E Full diff:
E - ['validator', 'unexpected_exception']
E + ['validation', 'messages', 'legacy_langpacks_disallowed']
Check warning on line 1057 in src/olympia/devhub/tests/test_views.py
github-actions / Python 3.7 Test Results
test_no_servererror_on_missing_version (src.olympia.devhub.tests.test_views.TestUploadDetail) failed
src/test_report3.xml [took 0s]
Raw output
AssertionError: assert [('"/"...34;.', False)] == [('"/versi...perty', True)] At index 0 diff: ('"/" must have required property 'version'', True) != ('"/version" is a required property', True) Left contains more items, first extra item: ('The version string should be simplified.', True) Full diff: + [('"/version" is a required property', True)] - [('"/" must have required property 'version'', True), - ('The version string should be simplified.', True), - ('Use "browser_specific_settings" instead of "applications".',... ...Full output truncated (2 lines hidden), use '-vv' to show
src/olympia/devhub/tests/test_views.py:1073: in test_no_servererror_on_missing_version
assert message == expected
E AssertionError: assert [('"/"...34;.', False)] == [('"/versi...perty', True)]
E At index 0 diff: ('"/" must have required property 'version'', True) != ('"/version" is a required property', True)
E Left contains more items, first extra item: ('The version string should be simplified.', True)
E Full diff:
E + [('"/version" is a required property', True)]
E - [('"/" must have required property 'version'', True),
E - ('The version string should be simplified.', True),
E - ('Use "browser_specific_settings" instead of "applications".',...
E
E ...Full output truncated (2 lines hidden), use '-vv' to show
Check warning on line 296 in src/olympia/devhub/tests/test_views_edit.py
github-actions / Python 3.7 Test Results
test_akismet_edit_is_ham (src.olympia.devhub.tests.test_views_edit.TestEditBasicListed) failed
src/test_report3.xml [took 0s]
Raw output
KeyError: 'description'
src/olympia/devhub/tests/test_views_edit.py:322: in test_akismet_edit_is_ham
assert six.text_type(addon.description) == data['description']
E KeyError: 'description'
Check warning on line 544 in src/olympia/devhub/tests/test_views_edit.py
github-actions / Python 3.7 Test Results
test_edit_categories_add (src.olympia.devhub.tests.test_views_edit.TestEditBasicListed) failed
src/test_report3.xml [took 0s]
Raw output
AssertionError: assert [22] == [1, 22] At index 0 diff: 22 != 1 Right contains more items, first extra item: 22 Full diff: - [22] + [1, 22]
src/olympia/devhub/tests/test_views_edit.py:552: in test_edit_categories_add
assert sorted(addon_cats) == [1, 22]
E AssertionError: assert [22] == [1, 22]
E At index 0 diff: 22 != 1
E Right contains more items, first extra item: 22
E Full diff:
E - [22]
E + [1, 22]
Check warning on line 567 in src/olympia/devhub/tests/test_views_edit.py
github-actions / Python 3.7 Test Results
test_edit_categories_add_new_creatured_admin (src.olympia.devhub.tests.test_views_edit.TestEditBasicListed) failed
src/test_report3.xml [took 0s]
Raw output
AssertionError: assert 'categories' not in {'categories': ['The miscellaneous category cannot be combined with additional categories.']}
src/olympia/devhub/tests/test_views_edit.py:579: in test_edit_categories_add_new_creatured_admin
assert 'categories' not in response.context['cat_form'].errors[0]
E AssertionError: assert 'categories' not in {'categories': ['The miscellaneous category cannot be combined with additional categories.']}
Check warning on line 613 in src/olympia/devhub/tests/test_views_edit.py
github-actions / Python 3.7 Test Results
test_edit_categories_addandremove (src.olympia.devhub.tests.test_views_edit.TestEditBasicListed) failed
src/test_report3.xml [took 0s]
Raw output
AssertionError: assert [1, 22] == [22, 71] At index 0 diff: 1 != 22 Full diff: - [1, 22] + [22, 71]
src/olympia/devhub/tests/test_views_edit.py:623: in test_edit_categories_addandremove
assert sorted(addon_cats) == [22, 71]
E AssertionError: assert [1, 22] == [22, 71]
E At index 0 diff: 1 != 22
E Full diff:
E - [1, 22]
E + [22, 71]
Check warning on line 642 in src/olympia/devhub/tests/test_views_edit.py
github-actions / Python 3.7 Test Results
test_edit_categories_remove (src.olympia.devhub.tests.test_views_edit.TestEditBasicListed) failed
src/test_report3.xml [took 0s]
Raw output
TypeError: unhashable type: 'StaticCategory'
src/olympia/devhub/tests/test_views_edit.py:658: in test_edit_categories_remove
assert set(response.context['addon'].all_categories) == set(
E TypeError: unhashable type: 'StaticCategory'
Check warning on line 597 in src/olympia/devhub/tests/test_views_edit.py
github-actions / Python 3.7 Test Results
test_edit_no_previous_categories (src.olympia.devhub.tests.test_views_edit.TestEditBasicListed) failed
src/test_report3.xml [took 0s]
Raw output
AssertionError: assert [] == [22, 71] Right contains more items, first extra item: 22 Full diff: - [] + [22, 71]
src/olympia/devhub/tests/test_views_edit.py:607: in test_edit_no_previous_categories
assert sorted(addon_cats) == [22, 71]
E AssertionError: assert [] == [22, 71]
E Right contains more items, first extra item: 22
E Full diff:
E - []
E + [22, 71]
Check warning on line 877 in src/olympia/devhub/tests/test_views_edit.py
github-actions / Python 3.7 Test Results
test_edit_media_icon_log (src.olympia.devhub.tests.test_views_edit.TestEditMedia) failed
src/test_report3.xml [took 0s]
Raw output
AssertionError: assert False + where False = <bound method FileSystemStorage.exists of <olympia.amo.utils.LocalFileStorage object at 0x7fec35b83690>>('/tmp/pytest-of-root/pytest-0/test_edit_media_icon_log0/media/addon_icons/3.615/3615-32.png') + where <bound method FileSystemStorage.exists of <olympia.amo.utils.LocalFileStorage object at 0x7fec35b83690>> = <django.core.files.storage.DefaultStorage object at 0x7fec3f527490>.exists
src/olympia/devhub/tests/test_views_edit.py:879: in test_edit_media_icon_log
self.test_edit_media_uploadedicon()
src/olympia/devhub/tests/test_views_edit.py:871: in test_edit_media_uploadedicon
assert storage.exists(dest)
E AssertionError: assert False
E + where False = <bound method FileSystemStorage.exists of <olympia.amo.utils.LocalFileStorage object at 0x7fec35b83690>>('/tmp/pytest-of-root/pytest-0/test_edit_media_icon_log0/media/addon_icons/3.615/3615-32.png')
E + where <bound method FileSystemStorage.exists of <olympia.amo.utils.LocalFileStorage object at 0x7fec35b83690>> = <django.core.files.storage.DefaultStorage object at 0x7fec3f527490>.exists
Check warning on line 837 in src/olympia/devhub/tests/test_views_edit.py
github-actions / Python 3.7 Test Results
test_edit_media_uploadedicon (src.olympia.devhub.tests.test_views_edit.TestEditMedia) failed
src/test_report3.xml [took 0s]
Raw output
AssertionError: assert False + where False = <bound method FileSystemStorage.exists of <olympia.amo.utils.LocalFileStorage object at 0x7fec35b83690>>('/tmp/pytest-of-root/pytest-0/test_edit_media_uploadedicon0/media/addon_icons/3.615/3615-32.png') + where <bound method FileSystemStorage.exists of <olympia.amo.utils.LocalFileStorage object at 0x7fec35b83690>> = <django.core.files.storage.DefaultStorage object at 0x7fec3f527490>.exists
src/olympia/devhub/tests/test_views_edit.py:871: in test_edit_media_uploadedicon
assert storage.exists(dest)
E AssertionError: assert False
E + where False = <bound method FileSystemStorage.exists of <olympia.amo.utils.LocalFileStorage object at 0x7fec35b83690>>('/tmp/pytest-of-root/pytest-0/test_edit_media_uploadedicon0/media/addon_icons/3.615/3615-32.png')
E + where <bound method FileSystemStorage.exists of <olympia.amo.utils.LocalFileStorage object at 0x7fec35b83690>> = <django.core.files.storage.DefaultStorage object at 0x7fec3f527490>.exists