allow specifying swagger documents for path converters #288
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / JUnit Report python3.11 marshmallow==3.17.* flask=='2.2.*' werkzeug=='2.2.*'
failed
Oct 26, 2023 in 0s
130 tests run, 126 passed, 0 skipped, 4 failed.
Annotations
Check failure on line 1 in TestTodoApp
github-actions / JUnit Report python3.11 marshmallow==3.17.* flask=='2.2.*' werkzeug=='2.2.*'
TestTodoApp.test_authentication
AttributeError: module 'marshmallow.fields' has no attribute 'Enum'
Raw output
self = <tests.examples.test_todo.TestTodoApp testMethod=test_authentication>
def setUp(self):
from todo.app import create_app
> self.app = create_app()
tests/examples/test_todo.py:34:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
examples/todo/todo/app.py:47: in create_app
rebar.init_app(app=app)
flask_rebar/rebar.py:793: in init_app
registry.register(app=app)
flask_rebar/rebar.py:555: in register
self._register_routes(app=app)
flask_rebar/rebar.py:562: in _register_routes
import_string(handler_mod)
/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/werkzeug/utils.py:611: in import_string
__import__(import_name)
examples/todo/todo/handlers/todo_handlers.py:6: in <module>
from todo.schemas import (
examples/todo/todo/schemas.py:11: in <module>
class CreateTodoSchema(RequestSchema):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
class CreateTodoSchema(RequestSchema):
complete = fields.Boolean(required=True)
description = fields.String(required=True)
> type = fields.Enum(TodoType, load_default=TodoType.user)
E AttributeError: module 'marshmallow.fields' has no attribute 'Enum'
examples/todo/todo/schemas.py:14: AttributeError
Check failure on line 1 in TestTodoApp
github-actions / JUnit Report python3.11 marshmallow==3.17.* flask=='2.2.*' werkzeug=='2.2.*'
TestTodoApp.test_crud
AttributeError: module 'marshmallow.fields' has no attribute 'Enum'
Raw output
self = <tests.examples.test_todo.TestTodoApp testMethod=test_crud>
def setUp(self):
from todo.app import create_app
> self.app = create_app()
tests/examples/test_todo.py:34:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
examples/todo/todo/app.py:47: in create_app
rebar.init_app(app=app)
flask_rebar/rebar.py:793: in init_app
registry.register(app=app)
flask_rebar/rebar.py:555: in register
self._register_routes(app=app)
flask_rebar/rebar.py:562: in _register_routes
import_string(handler_mod)
/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/werkzeug/utils.py:611: in import_string
__import__(import_name)
examples/todo/todo/handlers/todo_handlers.py:6: in <module>
from todo.schemas import (
examples/todo/todo/schemas.py:11: in <module>
class CreateTodoSchema(RequestSchema):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
class CreateTodoSchema(RequestSchema):
complete = fields.Boolean(required=True)
description = fields.String(required=True)
> type = fields.Enum(TodoType, load_default=TodoType.user)
E AttributeError: module 'marshmallow.fields' has no attribute 'Enum'
examples/todo/todo/schemas.py:14: AttributeError
Check failure on line 1 in TestTodoApp
github-actions / JUnit Report python3.11 marshmallow==3.17.* flask=='2.2.*' werkzeug=='2.2.*'
TestTodoApp.test_swagger
AttributeError: module 'marshmallow.fields' has no attribute 'Enum'
Raw output
self = <tests.examples.test_todo.TestTodoApp testMethod=test_swagger>
def setUp(self):
from todo.app import create_app
> self.app = create_app()
tests/examples/test_todo.py:34:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
examples/todo/todo/app.py:47: in create_app
rebar.init_app(app=app)
flask_rebar/rebar.py:793: in init_app
registry.register(app=app)
flask_rebar/rebar.py:555: in register
self._register_routes(app=app)
flask_rebar/rebar.py:562: in _register_routes
import_string(handler_mod)
/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/werkzeug/utils.py:611: in import_string
__import__(import_name)
examples/todo/todo/handlers/todo_handlers.py:6: in <module>
from todo.schemas import (
examples/todo/todo/schemas.py:11: in <module>
class CreateTodoSchema(RequestSchema):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
class CreateTodoSchema(RequestSchema):
complete = fields.Boolean(required=True)
description = fields.String(required=True)
> type = fields.Enum(TodoType, load_default=TodoType.user)
E AttributeError: module 'marshmallow.fields' has no attribute 'Enum'
examples/todo/todo/schemas.py:14: AttributeError
Check failure on line 1 in TestTodoApp
github-actions / JUnit Report python3.11 marshmallow==3.17.* flask=='2.2.*' werkzeug=='2.2.*'
TestTodoApp.test_validation
AttributeError: module 'marshmallow.fields' has no attribute 'Enum'
Raw output
self = <tests.examples.test_todo.TestTodoApp testMethod=test_validation>
def setUp(self):
from todo.app import create_app
> self.app = create_app()
tests/examples/test_todo.py:34:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
examples/todo/todo/app.py:47: in create_app
rebar.init_app(app=app)
flask_rebar/rebar.py:793: in init_app
registry.register(app=app)
flask_rebar/rebar.py:555: in register
self._register_routes(app=app)
flask_rebar/rebar.py:562: in _register_routes
import_string(handler_mod)
/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/werkzeug/utils.py:611: in import_string
__import__(import_name)
examples/todo/todo/handlers/todo_handlers.py:6: in <module>
from todo.schemas import (
examples/todo/todo/schemas.py:11: in <module>
class CreateTodoSchema(RequestSchema):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
class CreateTodoSchema(RequestSchema):
complete = fields.Boolean(required=True)
description = fields.String(required=True)
> type = fields.Enum(TodoType, load_default=TodoType.user)
E AttributeError: module 'marshmallow.fields' has no attribute 'Enum'
examples/todo/todo/schemas.py:14: AttributeError
Loading