mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-25 23:21:21 +01:00
* test: remove warnings for `TemplateResponse` removes warnings ``` tests/core/views/test_generic.py::test_core_views_generic tests/core/views/test_generic.py::test_get_wallet_with_user_and_wallet tests/core/views/test_generic.py::test_get_extensions tests/core/views/test_public_api.py::test_core_views_generic /home/dni/.cache/pypoetry/virtualenvs/lnbits-XeqO4Z-j-py3.10/lib/python3.10/site-packages/starlette/templating.py:178: DeprecationWarning: The `name` is not the first para meter anymore. The first parameter should be the `Request` instance. Replace `TemplateResponse(name, {"request": request})` by `TemplateResponse(request, name)`. warnings.warn( ``` |
||
---|---|---|
.. | ||
__init__.py | ||
admin_api.py | ||
api.py | ||
auth_api.py | ||
extension_api.py | ||
generic.py | ||
node_api.py | ||
payment_api.py | ||
public_api.py | ||
tinyurl_api.py | ||
wallet_api.py | ||
webpush_api.py | ||
websocket_api.py |