Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
pontoon/sync/tests/formats/test_silme.py - 47 errors
TypeError: object of type 'map' has no len() [45 times]
TypeError: 'odict_values' object is not subscriptable [2 times]
====================================================================================================
pontoon/tags/tests/utils/test_stats.py - 23 errors
django.db.utils.DataError: invalid regular expression: quantifier operand invalid [23 times]
====================================================================================================
pontoon/sync/tests/test_changeset.py - 21 errors
TypeError: can only concatenate list (not "dict_values") to list [14 times]
TypeError: 'dict_values' object is not subscriptable [7 times]
====================================================================================================
pontoon/sync/tests/formats/test_po.py - 17 errors
TypeError: object of type 'map' has no len() [17 times]
====================================================================================================
pontoon/sync/tests/formats/test_ftl.py - 14 errors
TypeError: object of type 'map' has no len() [14 times]
====================================================================================================
pontoon/tags/tests/utils/test_translations.py - 14 errors
django.db.utils.DataError: invalid regular expression: quantifier operand invalid [14 times]
====================================================================================================
pontoon/tags/tests/utils/test_resources.py - 12 errors
django.db.utils.DataError: invalid regular expression: quantifier operand invalid [12 times]
====================================================================================================
pontoon/sync/tests/formats/test_compare_locales.py - 12 errors
TypeError: object of type 'map' has no len() [10 times]
TypeError: a bytes-like object is required, not 'str' [2 times]
====================================================================================================
pontoon/base/tests/managers/test_entity.py - 10 errors
TypeError: object of type 'map' has no len() [10 times]
====================================================================================================
pontoon/sync/tests/formats/test_lang.py - 10 errors
TypeError: object of type 'map' has no len() [10 times]
====================================================================================================
pontoon/batch/tests/test_views.py - 7 errors
django.http.request.RawPostDataException: You cannot access body after reading from request's data stream [7 times]
====================================================================================================
pontoon/sync/tests/formats/test_xliff.py - 6 errors
TypeError: object of type 'map' has no len() [6 times]
====================================================================================================
pontoon/sync/tests/formats/test_json_extensions.py - 6 errors
TypeError: object of type 'map' has no len() [6 times]
====================================================================================================
pontoon/contributors/tests/test_views.py - 6 errors
django.http.request.RawPostDataException: You cannot access body after reading from request's data stream [4 times]
AttributeError: 'bytes' object has no attribute '__traceback__' [1 times]
TypeError: 'odict_items' object is not subscriptable [1 times]
====================================================================================================
pontoon/tags/tests/test_forms.py - 5 errors
django.db.utils.DataError: invalid regular expression: quantifier operand invalid [4 times]
AssertionError: assert odict_keys(['...a', 'search']) == ['tag', 'type'...ta', 'search'] Use -v to get the full diff [1 times]
====================================================================================================
pontoon/base/tests/views/test_translation.py - 4 errors
assert b'Bad Request: Request must be AJAX' == 'Bad Request: Request must be AJAX' + where b'Bad Request: Request must be AJAX' = <HttpResponseBadRequest status_code=400, "text/html; charset=utf-8">.content [3 times]
AttributeError: 'bytes' object has no attribute '__traceback__' [1 times]
====================================================================================================
pontoon/base/tests/test_helpers.py - 3 errors
TypeError: 'filter' object is not subscriptable [3 times]
====================================================================================================
pontoon/checks/tests/test_translate_toolkit.py - 3 errors
TypeError: '>=' not supported between instances of 'MagicMock' and 'int' [3 times]
====================================================================================================
pontoon/tags/tests/test_views.py - 3 errors
AttributeError: 'bytes' object has no attribute '__traceback__' [2 times]
TypeError: a bytes-like object is required, not 'str' [1 times]
====================================================================================================
pontoon/base/tests/views/test_entity.py - 2 errors
KeyError: 'has_next' [2 times]
====================================================================================================
pontoon/base/tests/test_utils.py - 2 errors
AssertionError: assert '^(?s:.*)\\Z' == '^.*$' - ^(?s:.*)\Z + ^.*$ [1 times]
TypeError: argument of type 'ResourceQuerySet' is not iterable [1 times]
====================================================================================================
pontoon/sync/tests/test_tasks.py - 2 errors
pontoon.base.models.DoesNotExist: Translation matching query does not exist. [1 times]
AssertionError: DoesNotExist not raised [1 times]
====================================================================================================
pontoon/checks/tests/test_models.py - 1 errors
AssertionError: assert 'p' == 'cl' - p + cl [1 times]
====================================================================================================
pontoon/teams/tests/test_views.py - 1 errors
TypeError: a bytes-like object is required, not 'str' [1 times]
====================================================================================================
pontoon/translate/tests/test_views.py - 1 errors
TypeError: a bytes-like object is required, not 'str' [1 times]
====================================================================================================
pontoon/base/tests/views/test_tmx.py - 1 errors
TypeError: sequence item 0: expected str instance, bytes found [1 times]
====================================================================================================
pontoon/base/tests/views/test_upload.py - 1 errors
ValueError: must have exactly one of create/read/write/append mode [1 times]
====================================================================================================
Errors counts: 234
Most common errors (top 20):
118 times - TypeError: object of type 'map' has no len()
53 times - django.db.utils.DataError: invalid regular expression: quantifier operand invalid
14 times - TypeError: can only concatenate list (not "dict_values") to list
11 times - django.http.request.RawPostDataException: You cannot access body after reading from request's data stream
7 times - TypeError: 'dict_values' object is not subscriptable
5 times - TypeError: a bytes-like object is required, not 'str'
4 times - AttributeError: 'bytes' object has no attribute '__traceback__'
3 times - TypeError: 'filter' object is not subscriptable
3 times - TypeError: '>=' not supported between instances of 'MagicMock' and 'int'
3 times - assert b'Bad Request: Request must be AJAX' == 'Bad Request: Request must be AJAX' + where b'Bad Request: Request must be AJAX' = <HttpResponseBadRequest status_code=400, "text/html; charset=utf-8">.content
2 times - TypeError: 'odict_values' object is not subscriptable
2 times - KeyError: 'has_next'
1 times - AssertionError: DoesNotExist not raised
1 times - TypeError: argument of type 'ResourceQuerySet' is not iterable
1 times - AssertionError: assert 'p' == 'cl' - p + cl
1 times - AssertionError: assert odict_keys(['...a', 'search']) == ['tag', 'type'...ta', 'search'] Use -v to get the full diff
1 times - ValueError: must have exactly one of create/read/write/append mode
1 times - TypeError: 'odict_items' object is not subscriptable
1 times - AssertionError: assert '^(?s:.*)\\Z' == '^.*$' - ^(?s:.*)\Z + ^.*$
1 times - pontoon.base.models.DoesNotExist: Translation matching query does not exist.
1 times - TypeError: sequence item 0: expected str instance, bytes found
☁ pontoon [master] ⚡ python pnt.py
pontoon/sync/tests/formats/test_silme.py - 47 errors
TypeError: object of type 'map' has no len() [45 times]
TypeError: 'odict_values' object is not subscriptable [2 times]
====================================================================================================
pontoon/tags/tests/utils/test_stats.py - 23 errors
django.db.utils.DataError: invalid regular expression: quantifier operand invalid [23 times]
====================================================================================================
pontoon/sync/tests/test_changeset.py - 21 errors
TypeError: can only concatenate list (not "dict_values") to list [14 times]
TypeError: 'dict_values' object is not subscriptable [7 times]
====================================================================================================
pontoon/sync/tests/formats/test_po.py - 17 errors
TypeError: object of type 'map' has no len() [17 times]
====================================================================================================
pontoon/sync/tests/formats/test_ftl.py - 14 errors
TypeError: object of type 'map' has no len() [14 times]
====================================================================================================
pontoon/tags/tests/utils/test_translations.py - 14 errors
django.db.utils.DataError: invalid regular expression: quantifier operand invalid [14 times]
====================================================================================================
pontoon/tags/tests/utils/test_resources.py - 12 errors
django.db.utils.DataError: invalid regular expression: quantifier operand invalid [12 times]
====================================================================================================
pontoon/sync/tests/formats/test_compare_locales.py - 12 errors
TypeError: object of type 'map' has no len() [10 times]
TypeError: a bytes-like object is required, not 'str' [2 times]
====================================================================================================
pontoon/base/tests/managers/test_entity.py - 10 errors
TypeError: object of type 'map' has no len() [10 times]
====================================================================================================
pontoon/sync/tests/formats/test_lang.py - 10 errors
TypeError: object of type 'map' has no len() [10 times]
====================================================================================================
pontoon/batch/tests/test_views.py - 7 errors
django.http.request.RawPostDataException: You cannot access body after reading from request's data stream [7 times]
====================================================================================================
pontoon/sync/tests/formats/test_xliff.py - 6 errors
TypeError: object of type 'map' has no len() [6 times]
====================================================================================================
pontoon/sync/tests/formats/test_json_extensions.py - 6 errors
TypeError: object of type 'map' has no len() [6 times]
====================================================================================================
pontoon/contributors/tests/test_views.py - 6 errors
django.http.request.RawPostDataException: You cannot access body after reading from request's data stream [4 times]
AttributeError: 'bytes' object has no attribute '__traceback__' [1 times]
TypeError: 'odict_items' object is not subscriptable [1 times]
====================================================================================================
pontoon/tags/tests/test_forms.py - 5 errors
django.db.utils.DataError: invalid regular expression: quantifier operand invalid [4 times]
AssertionError: assert odict_keys(['...a', 'search']) == ['tag', 'type'...ta', 'search'] Use -v to get the full diff [1 times]
====================================================================================================
pontoon/base/tests/views/test_translation.py - 4 errors
assert b'Bad Request: Request must be AJAX' == 'Bad Request: Request must be AJAX' + where b'Bad Request: Request must be AJAX' = <HttpResponseBadRequest status_code=400, "text/html; charset=utf-8">.content [3 times]
AttributeError: 'bytes' object has no attribute '__traceback__' [1 times]
====================================================================================================
pontoon/base/tests/test_helpers.py - 3 errors
TypeError: 'filter' object is not subscriptable [3 times]
====================================================================================================
pontoon/checks/tests/test_translate_toolkit.py - 3 errors
TypeError: '>=' not supported between instances of 'MagicMock' and 'int' [3 times]
====================================================================================================
pontoon/tags/tests/test_views.py - 3 errors
AttributeError: 'bytes' object has no attribute '__traceback__' [2 times]
TypeError: a bytes-like object is required, not 'str' [1 times]
====================================================================================================
pontoon/base/tests/views/test_entity.py - 2 errors
KeyError: 'has_next' [2 times]
====================================================================================================
pontoon/base/tests/test_utils.py - 2 errors
AssertionError: assert '^(?s:.*)\\Z' == '^.*$' - ^(?s:.*)\Z + ^.*$ [1 times]
TypeError: argument of type 'ResourceQuerySet' is not iterable [1 times]
====================================================================================================
pontoon/sync/tests/test_tasks.py - 2 errors
pontoon.base.models.DoesNotExist: Translation matching query does not exist. [1 times]
AssertionError: DoesNotExist not raised [1 times]
====================================================================================================
pontoon/checks/tests/test_models.py - 1 errors
AssertionError: assert 'p' == 'cl' - p + cl [1 times]
====================================================================================================
pontoon/teams/tests/test_views.py - 1 errors
TypeError: a bytes-like object is required, not 'str' [1 times]
====================================================================================================
pontoon/translate/tests/test_views.py - 1 errors
TypeError: a bytes-like object is required, not 'str' [1 times]
====================================================================================================
pontoon/base/tests/views/test_tmx.py - 1 errors
TypeError: sequence item 0: expected str instance, bytes found [1 times]
====================================================================================================
pontoon/base/tests/views/test_upload.py - 1 errors
ValueError: must have exactly one of create/read/write/append mode [1 times]
====================================================================================================
Errors counts: 21
Most common errors (top 20):
118 times - TypeError: object of type 'map' has no len()
53 times - django.db.utils.DataError: invalid regular expression: quantifier operand invalid
14 times - TypeError: can only concatenate list (not "dict_values") to list
11 times - django.http.request.RawPostDataException: You cannot access body after reading from request's data stream
7 times - TypeError: 'dict_values' object is not subscriptable
5 times - TypeError: a bytes-like object is required, not 'str'
4 times - AttributeError: 'bytes' object has no attribute '__traceback__'
3 times - TypeError: 'filter' object is not subscriptable
3 times - TypeError: '>=' not supported between instances of 'MagicMock' and 'int'
3 times - assert b'Bad Request: Request must be AJAX' == 'Bad Request: Request must be AJAX' + where b'Bad Request: Request must be AJAX' = <HttpResponseBadRequest status_code=400, "text/html; charset=utf-8">.content
2 times - TypeError: 'odict_values' object is not subscriptable
2 times - KeyError: 'has_next'
1 times - AssertionError: DoesNotExist not raised
1 times - TypeError: argument of type 'ResourceQuerySet' is not iterable
1 times - AssertionError: assert 'p' == 'cl' - p + cl
1 times - AssertionError: assert odict_keys(['...a', 'search']) == ['tag', 'type'...ta', 'search'] Use -v to get the full diff
1 times - ValueError: must have exactly one of create/read/write/append mode
1 times - TypeError: 'odict_items' object is not subscriptable
1 times - AssertionError: assert '^(?s:.*)\\Z' == '^.*$' - ^(?s:.*)\Z + ^.*$
1 times - pontoon.base.models.DoesNotExist: Translation matching query does not exist.
1 times - TypeError: sequence item 0: expected str instance, bytes found
☁ pontoon [master] ⚡ python pnt.py
pontoon/sync/tests/formats/test_silme.py - 47 errors
TypeError: object of type 'map' has no len() [45 times]
TypeError: 'odict_values' object is not subscriptable [2 times]
====================================================================================================
pontoon/tags/tests/utils/test_stats.py - 23 errors
django.db.utils.DataError: invalid regular expression: quantifier operand invalid [23 times]
====================================================================================================
pontoon/sync/tests/test_changeset.py - 21 errors
TypeError: can only concatenate list (not "dict_values") to list [14 times]
TypeError: 'dict_values' object is not subscriptable [7 times]
====================================================================================================
pontoon/sync/tests/formats/test_po.py - 17 errors
TypeError: object of type 'map' has no len() [17 times]
====================================================================================================
pontoon/sync/tests/formats/test_ftl.py - 14 errors
TypeError: object of type 'map' has no len() [14 times]
====================================================================================================
pontoon/tags/tests/utils/test_translations.py - 14 errors
django.db.utils.DataError: invalid regular expression: quantifier operand invalid [14 times]
====================================================================================================
pontoon/tags/tests/utils/test_resources.py - 12 errors
django.db.utils.DataError: invalid regular expression: quantifier operand invalid [12 times]
====================================================================================================
pontoon/sync/tests/formats/test_compare_locales.py - 12 errors
TypeError: object of type 'map' has no len() [10 times]
TypeError: a bytes-like object is required, not 'str' [2 times]
====================================================================================================
pontoon/base/tests/managers/test_entity.py - 10 errors
TypeError: object of type 'map' has no len() [10 times]
====================================================================================================
pontoon/sync/tests/formats/test_lang.py - 10 errors
TypeError: object of type 'map' has no len() [10 times]
====================================================================================================
pontoon/batch/tests/test_views.py - 7 errors
django.http.request.RawPostDataException: You cannot access body after reading from request's data stream [7 times]
====================================================================================================
pontoon/sync/tests/formats/test_xliff.py - 6 errors
TypeError: object of type 'map' has no len() [6 times]
====================================================================================================
pontoon/sync/tests/formats/test_json_extensions.py - 6 errors
TypeError: object of type 'map' has no len() [6 times]
====================================================================================================
pontoon/contributors/tests/test_views.py - 6 errors
django.http.request.RawPostDataException: You cannot access body after reading from request's data stream [4 times]
AttributeError: 'bytes' object has no attribute '__traceback__' [1 times]
TypeError: 'odict_items' object is not subscriptable [1 times]
====================================================================================================
pontoon/tags/tests/test_forms.py - 5 errors
django.db.utils.DataError: invalid regular expression: quantifier operand invalid [4 times]
AssertionError: assert odict_keys(['...a', 'search']) == ['tag', 'type'...ta', 'search'] Use -v to get the full diff [1 times]
====================================================================================================
pontoon/base/tests/views/test_translation.py - 4 errors
assert b'Bad Request: Request must be AJAX' == 'Bad Request: Request must be AJAX' + where b'Bad Request: Request must be AJAX' = <HttpResponseBadRequest status_code=400, "text/html; charset=utf-8">.content [3 times]
AttributeError: 'bytes' object has no attribute '__traceback__' [1 times]
====================================================================================================
pontoon/base/tests/test_helpers.py - 3 errors
TypeError: 'filter' object is not subscriptable [3 times]
====================================================================================================
pontoon/checks/tests/test_translate_toolkit.py - 3 errors
TypeError: '>=' not supported between instances of 'MagicMock' and 'int' [3 times]
====================================================================================================
pontoon/tags/tests/test_views.py - 3 errors
AttributeError: 'bytes' object has no attribute '__traceback__' [2 times]
TypeError: a bytes-like object is required, not 'str' [1 times]
====================================================================================================
pontoon/base/tests/views/test_entity.py - 2 errors
KeyError: 'has_next' [2 times]
====================================================================================================
pontoon/base/tests/test_utils.py - 2 errors
AssertionError: assert '^(?s:.*)\\Z' == '^.*$' - ^(?s:.*)\Z + ^.*$ [1 times]
TypeError: argument of type 'ResourceQuerySet' is not iterable [1 times]
====================================================================================================
pontoon/sync/tests/test_tasks.py - 2 errors
pontoon.base.models.DoesNotExist: Translation matching query does not exist. [1 times]
AssertionError: DoesNotExist not raised [1 times]
====================================================================================================
pontoon/checks/tests/test_models.py - 1 errors
AssertionError: assert 'p' == 'cl' - p + cl [1 times]
====================================================================================================
pontoon/teams/tests/test_views.py - 1 errors
TypeError: a bytes-like object is required, not 'str' [1 times]
====================================================================================================
pontoon/translate/tests/test_views.py - 1 errors
TypeError: a bytes-like object is required, not 'str' [1 times]
====================================================================================================
pontoon/base/tests/views/test_tmx.py - 1 errors
TypeError: sequence item 0: expected str instance, bytes found [1 times]
====================================================================================================
pontoon/base/tests/views/test_upload.py - 1 errors
ValueError: must have exactly one of create/read/write/append mode [1 times]
====================================================================================================
There are 21 types of errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.