Skip to content

updated html and mapping #240

updated html and mapping

updated html and mapping #240

GitHub Actions / JUnit Test Report failed Sep 24, 2023 in 0s

389 tests run, 381 passed, 0 skipped, 8 failed.

Annotations

Check failure on line 1 in TestAddPortForwardForm

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestAddPortForwardForm.test_bad_ip[1.1]

RuntimeError: Working outside of application context.

This typically means that you attempted to use functionality that needed
the current application. To solve this, set up an application context
with app.app_context(). See the documentation for more information.
Raw output
self = <tests.test_forms.TestAddPortForwardForm object at 0x7f4878c95a50>
ip = '1.1'
validate_ip = <function TestAddPortForwardForm.validate_ip.<locals>.validate_ip at 0x7f48786700d0>

    @pytest.mark.parametrize(
        "ip",
        [
            "1.1",
            "0z:80:41:ae:fd:7e",
            "0+:80:41:ae:fd:7e",
            "awda ssfsfwa",
            "a",
            "ab",
            "1000",
            "1.6.7."
        ],
    )
    def test_bad_ip(self, ip, validate_ip):
        with pytest.raises(ValidationError):
>           validate_ip(ip)

tests/test_forms.py:143: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_forms.py:121: in validate_ip
    form = forms.AddPortForwardForm(data={
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:208: in __call__
    return type.__call__(cls, *args, **kwargs)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/flask_wtf/form.py:73: in __init__
    super().__init__(formdata=formdata, **kwargs)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:280: in __init__
    super().__init__(self._unbound_fields, meta=meta_obj, prefix=prefix)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:39: in __init__
    translations = self.meta.get_translations(self)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/flask_wtf/form.py:67: in get_translations
    if not current_app.config.get("WTF_I18N_ENABLED", True):
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/werkzeug/local.py:316: in __get__
    obj = instance._get_current_object()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def _get_current_object() -> T:
        try:
            obj = local.get()  # type: ignore[union-attr]
        except LookupError:
>           raise RuntimeError(unbound_message) from None
E           RuntimeError: Working outside of application context.
E           
E           This typically means that you attempted to use functionality that needed
E           the current application. To solve this, set up an application context
E           with app.app_context(). See the documentation for more information.

/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/werkzeug/local.py:513: RuntimeError

Check failure on line 1 in TestAddPortForwardForm

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestAddPortForwardForm.test_bad_ip[0z:80:41:ae:fd:7e]

RuntimeError: Working outside of application context.

This typically means that you attempted to use functionality that needed
the current application. To solve this, set up an application context
with app.app_context(). See the documentation for more information.
Raw output
self = <tests.test_forms.TestAddPortForwardForm object at 0x7f4878c959c0>
ip = '0z:80:41:ae:fd:7e'
validate_ip = <function TestAddPortForwardForm.validate_ip.<locals>.validate_ip at 0x7f48786700d0>

    @pytest.mark.parametrize(
        "ip",
        [
            "1.1",
            "0z:80:41:ae:fd:7e",
            "0+:80:41:ae:fd:7e",
            "awda ssfsfwa",
            "a",
            "ab",
            "1000",
            "1.6.7."
        ],
    )
    def test_bad_ip(self, ip, validate_ip):
        with pytest.raises(ValidationError):
>           validate_ip(ip)

tests/test_forms.py:143: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_forms.py:121: in validate_ip
    form = forms.AddPortForwardForm(data={
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:208: in __call__
    return type.__call__(cls, *args, **kwargs)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/flask_wtf/form.py:73: in __init__
    super().__init__(formdata=formdata, **kwargs)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:280: in __init__
    super().__init__(self._unbound_fields, meta=meta_obj, prefix=prefix)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:39: in __init__
    translations = self.meta.get_translations(self)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/flask_wtf/form.py:67: in get_translations
    if not current_app.config.get("WTF_I18N_ENABLED", True):
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/werkzeug/local.py:316: in __get__
    obj = instance._get_current_object()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def _get_current_object() -> T:
        try:
            obj = local.get()  # type: ignore[union-attr]
        except LookupError:
>           raise RuntimeError(unbound_message) from None
E           RuntimeError: Working outside of application context.
E           
E           This typically means that you attempted to use functionality that needed
E           the current application. To solve this, set up an application context
E           with app.app_context(). See the documentation for more information.

/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/werkzeug/local.py:513: RuntimeError

Check failure on line 1 in TestAddPortForwardForm

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestAddPortForwardForm.test_bad_ip[0+:80:41:ae:fd:7e]

RuntimeError: Working outside of application context.

This typically means that you attempted to use functionality that needed
the current application. To solve this, set up an application context
with app.app_context(). See the documentation for more information.
Raw output
self = <tests.test_forms.TestAddPortForwardForm object at 0x7f4878c95900>
ip = '0+:80:41:ae:fd:7e'
validate_ip = <function TestAddPortForwardForm.validate_ip.<locals>.validate_ip at 0x7f48786700d0>

    @pytest.mark.parametrize(
        "ip",
        [
            "1.1",
            "0z:80:41:ae:fd:7e",
            "0+:80:41:ae:fd:7e",
            "awda ssfsfwa",
            "a",
            "ab",
            "1000",
            "1.6.7."
        ],
    )
    def test_bad_ip(self, ip, validate_ip):
        with pytest.raises(ValidationError):
>           validate_ip(ip)

tests/test_forms.py:143: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_forms.py:121: in validate_ip
    form = forms.AddPortForwardForm(data={
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:208: in __call__
    return type.__call__(cls, *args, **kwargs)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/flask_wtf/form.py:73: in __init__
    super().__init__(formdata=formdata, **kwargs)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:280: in __init__
    super().__init__(self._unbound_fields, meta=meta_obj, prefix=prefix)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:39: in __init__
    translations = self.meta.get_translations(self)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/flask_wtf/form.py:67: in get_translations
    if not current_app.config.get("WTF_I18N_ENABLED", True):
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/werkzeug/local.py:316: in __get__
    obj = instance._get_current_object()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def _get_current_object() -> T:
        try:
            obj = local.get()  # type: ignore[union-attr]
        except LookupError:
>           raise RuntimeError(unbound_message) from None
E           RuntimeError: Working outside of application context.
E           
E           This typically means that you attempted to use functionality that needed
E           the current application. To solve this, set up an application context
E           with app.app_context(). See the documentation for more information.

/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/werkzeug/local.py:513: RuntimeError

Check failure on line 1 in TestAddPortForwardForm

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestAddPortForwardForm.test_bad_ip[awda ssfsfwa]

RuntimeError: Working outside of application context.

This typically means that you attempted to use functionality that needed
the current application. To solve this, set up an application context
with app.app_context(). See the documentation for more information.
Raw output
self = <tests.test_forms.TestAddPortForwardForm object at 0x7f4878c95990>
ip = 'awda ssfsfwa'
validate_ip = <function TestAddPortForwardForm.validate_ip.<locals>.validate_ip at 0x7f48786700d0>

    @pytest.mark.parametrize(
        "ip",
        [
            "1.1",
            "0z:80:41:ae:fd:7e",
            "0+:80:41:ae:fd:7e",
            "awda ssfsfwa",
            "a",
            "ab",
            "1000",
            "1.6.7."
        ],
    )
    def test_bad_ip(self, ip, validate_ip):
        with pytest.raises(ValidationError):
>           validate_ip(ip)

tests/test_forms.py:143: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_forms.py:121: in validate_ip
    form = forms.AddPortForwardForm(data={
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:208: in __call__
    return type.__call__(cls, *args, **kwargs)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/flask_wtf/form.py:73: in __init__
    super().__init__(formdata=formdata, **kwargs)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:280: in __init__
    super().__init__(self._unbound_fields, meta=meta_obj, prefix=prefix)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:39: in __init__
    translations = self.meta.get_translations(self)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/flask_wtf/form.py:67: in get_translations
    if not current_app.config.get("WTF_I18N_ENABLED", True):
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/werkzeug/local.py:316: in __get__
    obj = instance._get_current_object()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def _get_current_object() -> T:
        try:
            obj = local.get()  # type: ignore[union-attr]
        except LookupError:
>           raise RuntimeError(unbound_message) from None
E           RuntimeError: Working outside of application context.
E           
E           This typically means that you attempted to use functionality that needed
E           the current application. To solve this, set up an application context
E           with app.app_context(). See the documentation for more information.

/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/werkzeug/local.py:513: RuntimeError

Check failure on line 1 in TestAddPortForwardForm

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestAddPortForwardForm.test_bad_ip[a]

RuntimeError: Working outside of application context.

This typically means that you attempted to use functionality that needed
the current application. To solve this, set up an application context
with app.app_context(). See the documentation for more information.
Raw output
self = <tests.test_forms.TestAddPortForwardForm object at 0x7f4878c95840>
ip = 'a'
validate_ip = <function TestAddPortForwardForm.validate_ip.<locals>.validate_ip at 0x7f48786700d0>

    @pytest.mark.parametrize(
        "ip",
        [
            "1.1",
            "0z:80:41:ae:fd:7e",
            "0+:80:41:ae:fd:7e",
            "awda ssfsfwa",
            "a",
            "ab",
            "1000",
            "1.6.7."
        ],
    )
    def test_bad_ip(self, ip, validate_ip):
        with pytest.raises(ValidationError):
>           validate_ip(ip)

tests/test_forms.py:143: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_forms.py:121: in validate_ip
    form = forms.AddPortForwardForm(data={
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:208: in __call__
    return type.__call__(cls, *args, **kwargs)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/flask_wtf/form.py:73: in __init__
    super().__init__(formdata=formdata, **kwargs)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:280: in __init__
    super().__init__(self._unbound_fields, meta=meta_obj, prefix=prefix)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:39: in __init__
    translations = self.meta.get_translations(self)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/flask_wtf/form.py:67: in get_translations
    if not current_app.config.get("WTF_I18N_ENABLED", True):
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/werkzeug/local.py:316: in __get__
    obj = instance._get_current_object()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def _get_current_object() -> T:
        try:
            obj = local.get()  # type: ignore[union-attr]
        except LookupError:
>           raise RuntimeError(unbound_message) from None
E           RuntimeError: Working outside of application context.
E           
E           This typically means that you attempted to use functionality that needed
E           the current application. To solve this, set up an application context
E           with app.app_context(). See the documentation for more information.

/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/werkzeug/local.py:513: RuntimeError

Check failure on line 1 in TestAddPortForwardForm

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestAddPortForwardForm.test_bad_ip[ab]

RuntimeError: Working outside of application context.

This typically means that you attempted to use functionality that needed
the current application. To solve this, set up an application context
with app.app_context(). See the documentation for more information.
Raw output
self = <tests.test_forms.TestAddPortForwardForm object at 0x7f4878c957e0>
ip = 'ab'
validate_ip = <function TestAddPortForwardForm.validate_ip.<locals>.validate_ip at 0x7f48786700d0>

    @pytest.mark.parametrize(
        "ip",
        [
            "1.1",
            "0z:80:41:ae:fd:7e",
            "0+:80:41:ae:fd:7e",
            "awda ssfsfwa",
            "a",
            "ab",
            "1000",
            "1.6.7."
        ],
    )
    def test_bad_ip(self, ip, validate_ip):
        with pytest.raises(ValidationError):
>           validate_ip(ip)

tests/test_forms.py:143: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_forms.py:121: in validate_ip
    form = forms.AddPortForwardForm(data={
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:208: in __call__
    return type.__call__(cls, *args, **kwargs)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/flask_wtf/form.py:73: in __init__
    super().__init__(formdata=formdata, **kwargs)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:280: in __init__
    super().__init__(self._unbound_fields, meta=meta_obj, prefix=prefix)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:39: in __init__
    translations = self.meta.get_translations(self)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/flask_wtf/form.py:67: in get_translations
    if not current_app.config.get("WTF_I18N_ENABLED", True):
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/werkzeug/local.py:316: in __get__
    obj = instance._get_current_object()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def _get_current_object() -> T:
        try:
            obj = local.get()  # type: ignore[union-attr]
        except LookupError:
>           raise RuntimeError(unbound_message) from None
E           RuntimeError: Working outside of application context.
E           
E           This typically means that you attempted to use functionality that needed
E           the current application. To solve this, set up an application context
E           with app.app_context(). See the documentation for more information.

/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/werkzeug/local.py:513: RuntimeError

Check failure on line 1 in TestAddPortForwardForm

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestAddPortForwardForm.test_bad_ip[1000]

RuntimeError: Working outside of application context.

This typically means that you attempted to use functionality that needed
the current application. To solve this, set up an application context
with app.app_context(). See the documentation for more information.
Raw output
self = <tests.test_forms.TestAddPortForwardForm object at 0x7f4878c954b0>
ip = '1000'
validate_ip = <function TestAddPortForwardForm.validate_ip.<locals>.validate_ip at 0x7f48786700d0>

    @pytest.mark.parametrize(
        "ip",
        [
            "1.1",
            "0z:80:41:ae:fd:7e",
            "0+:80:41:ae:fd:7e",
            "awda ssfsfwa",
            "a",
            "ab",
            "1000",
            "1.6.7."
        ],
    )
    def test_bad_ip(self, ip, validate_ip):
        with pytest.raises(ValidationError):
>           validate_ip(ip)

tests/test_forms.py:143: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_forms.py:121: in validate_ip
    form = forms.AddPortForwardForm(data={
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:208: in __call__
    return type.__call__(cls, *args, **kwargs)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/flask_wtf/form.py:73: in __init__
    super().__init__(formdata=formdata, **kwargs)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:280: in __init__
    super().__init__(self._unbound_fields, meta=meta_obj, prefix=prefix)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:39: in __init__
    translations = self.meta.get_translations(self)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/flask_wtf/form.py:67: in get_translations
    if not current_app.config.get("WTF_I18N_ENABLED", True):
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/werkzeug/local.py:316: in __get__
    obj = instance._get_current_object()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def _get_current_object() -> T:
        try:
            obj = local.get()  # type: ignore[union-attr]
        except LookupError:
>           raise RuntimeError(unbound_message) from None
E           RuntimeError: Working outside of application context.
E           
E           This typically means that you attempted to use functionality that needed
E           the current application. To solve this, set up an application context
E           with app.app_context(). See the documentation for more information.

/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/werkzeug/local.py:513: RuntimeError

Check failure on line 1 in TestAddPortForwardForm

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestAddPortForwardForm.test_bad_ip[1.6.7.]

RuntimeError: Working outside of application context.

This typically means that you attempted to use functionality that needed
the current application. To solve this, set up an application context
with app.app_context(). See the documentation for more information.
Raw output
self = <tests.test_forms.TestAddPortForwardForm object at 0x7f4878c95bd0>
ip = '1.6.7.'
validate_ip = <function TestAddPortForwardForm.validate_ip.<locals>.validate_ip at 0x7f48786700d0>

    @pytest.mark.parametrize(
        "ip",
        [
            "1.1",
            "0z:80:41:ae:fd:7e",
            "0+:80:41:ae:fd:7e",
            "awda ssfsfwa",
            "a",
            "ab",
            "1000",
            "1.6.7."
        ],
    )
    def test_bad_ip(self, ip, validate_ip):
        with pytest.raises(ValidationError):
>           validate_ip(ip)

tests/test_forms.py:143: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_forms.py:121: in validate_ip
    form = forms.AddPortForwardForm(data={
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:208: in __call__
    return type.__call__(cls, *args, **kwargs)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/flask_wtf/form.py:73: in __init__
    super().__init__(formdata=formdata, **kwargs)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:280: in __init__
    super().__init__(self._unbound_fields, meta=meta_obj, prefix=prefix)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/wtforms/form.py:39: in __init__
    translations = self.meta.get_translations(self)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/flask_wtf/form.py:67: in get_translations
    if not current_app.config.get("WTF_I18N_ENABLED", True):
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/werkzeug/local.py:316: in __get__
    obj = instance._get_current_object()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def _get_current_object() -> T:
        try:
            obj = local.get()  # type: ignore[union-attr]
        except LookupError:
>           raise RuntimeError(unbound_message) from None
E           RuntimeError: Working outside of application context.
E           
E           This typically means that you attempted to use functionality that needed
E           the current application. To solve this, set up an application context
E           with app.app_context(). See the documentation for more information.

/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/werkzeug/local.py:513: RuntimeError