Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving Sanic under toxgen #4173

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

antonpirker
Copy link
Member

No description provided.

Copy link

codecov bot commented Mar 20, 2025

❌ 13 Tests Failed:

Tests completed Failed Passed Skipped
23813 13 23800 5850
View the top 3 failed test(s) by shortest run time
 tests.integrations.sanic.test_sanic
Stack Traces | 0s run time
.../hostedtoolcache/Python/3.8.18.../x64/lib/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:961: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:843: in exec_module
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
.../integrations/sanic/__init__.py:3: in <module>
    pytest.importorskip("sanic")
.tox/py3.8-sanic-v24.12.0/lib/python3.8.../site-packages/sanic/__init__.py:6: in <module>
    from sanic.app import Sanic
.tox/py3.8-sanic-v24.12.0/lib/python3.8.../site-packages/sanic/app.py:50: in <module>
    from sanic.application.state import ApplicationState, ServerStage
.tox/py3.8-sanic-v24.12.0/lib/python3.8.../sanic/application/state.py:12: in <module>
    from sanic.log import VerbosityFilter, logger
.tox/py3.8-sanic-v24.12.0/lib/python3.8.../site-packages/sanic/log.py:1: in <module>
    from sanic.logging.color import Colors
.tox/py3.8-sanic-v24.12.0/lib/python3.8.../sanic/logging/color.py:8: in <module>
    from sanic.helpers import is_atty
.tox/py3.8-sanic-v24.12.0/lib/python3.8.../site-packages/sanic/helpers.py:21: in <module>
    STATUS_CODES: dict[int, bytes] = {
E   TypeError: 'type' object is not subscriptable
tests.integrations.sanic.test_sanic test_error_in_errorhandler
Stack Traces | 0.067s run time
.../integrations/sanic/test_sanic.py:202: in test_error_in_errorhandler
    _, response = client.get("/error")
.tox/py3.9-sanic-v21.12.2/lib/python3.9....../site-packages/sanic_testing/testing.py:285: in get
    return self._sanic_endpoint_test("get", *args, **kwargs)
.tox/py3.9-sanic-v21.12.2/lib/python3.9....../site-packages/sanic_testing/testing.py:236: in _sanic_endpoint_test
    self.app.run(  # type: ignore
E   TypeError: run() got an unexpected keyword argument 'single_process'
tests.integrations.sanic.test_sanic test_errors
Stack Traces | 0.067s run time
.../integrations/sanic/test_sanic.py:157: in test_errors
    _, response = client.get("/error")
.tox/py3.9-sanic-v21.12.2/lib/python3.9....../site-packages/sanic_testing/testing.py:285: in get
    return self._sanic_endpoint_test("get", *args, **kwargs)
.tox/py3.9-sanic-v21.12.2/lib/python3.9....../site-packages/sanic_testing/testing.py:236: in _sanic_endpoint_test
    self.app.run(  # type: ignore
E   TypeError: run() got an unexpected keyword argument 'single_process'

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant