added first template implementation #199
361 tests run, 345 passed, 0 skipped, 16 failed.
Annotations
Check failure on line 24 in tests/blueprints/usersuite/test_usersuite.py
github-actions / JUnit Test Report
test_usersuite.test_usersuite_reachable
jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
Raw output
client = <TestClient <Flask 'sipa'>>
def test_usersuite_reachable(client):
> resp = client.get(url_for("usersuite.index"))
tests/blueprints/usersuite/test_usersuite.py:24:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1141: in get
return self.open(*args, **kw)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/testing.py:238: in open
response = super().open(
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1095: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:962: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1243: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2552: in __call__
return self.wsgi_app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py:187: in __call__
return self.app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2532: in wsgi_app
response = self.handle_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2529: in wsgi_app
response = self.full_dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1825: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1823: in full_dispatch_request
rv = self.dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1799: in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask_login/utils.py:290: in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
sipa/blueprints/usersuite.py:106: in index
return render_template("usersuite/index.html", payment_form=payment_form, **context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:147: in render_template
return _render(app, template, context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:130: in _render
rv = template.render(context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:1301: in render
self.environment.handle_exception()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:936: in handle_exception
raise rewrite_traceback_stack(source=source)
sipa/templates/usersuite/index.html:2: in top-level template code
{% set page_title = _('Usersuite von ') + current_user.realname.value %}
sipa/templates/base.html:237: in top-level template code
{% block content %}
sipa/templates/usersuite/index.html:7: in block 'content'
{% include 'usersuite/_port_forwardings.html' %}
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:62: in get_source
return self._get_source_fast(environment, template)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.templating.DispatchingJinjaLoader object at 0x7fdc1488d840>
environment = <flask.templating.Environment object at 0x7fdc1488d7e0>
template = 'usersuite/_port_forwardings.html'
def _get_source_fast(
self, environment: Environment, template: str
) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable]]:
for _srcobj, loader in self._iter_loaders(template):
try:
return loader.get_source(environment, template)
except TemplateNotFound:
continue
> raise TemplateNotFound(template)
E jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:98: TemplateNotFound
Check failure on line 36 in tests/blueprints/usersuite/test_usersuite.py
github-actions / JUnit Test Report
test_usersuite.test_usersuite_endpoint_ok[usersuite.index]
jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
Raw output
client = <TestClient <Flask 'sipa'>>, endpoint = 'usersuite.index'
@pytest.mark.parametrize(
"endpoint",
[
f"usersuite.{x}"
for x in "index contact change_mac activate_network_access".split()
],
)
def test_usersuite_endpoint_ok(client, endpoint):
> client.assert_ok(endpoint)
tests/blueprints/usersuite/test_usersuite.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:62: in assert_ok
return self.assert_response_code(endpoint, code=200, **kw)
tests/assertions.py:56: in assert_response_code
return self.assert_url_response_code(url_for(endpoint), code, **kw)
tests/assertions.py:47: in assert_url_response_code
resp = self.open(url, method=method, **kw)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/testing.py:238: in open
response = super().open(
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1095: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:962: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1243: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2552: in __call__
return self.wsgi_app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py:187: in __call__
return self.app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2532: in wsgi_app
response = self.handle_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2529: in wsgi_app
response = self.full_dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1825: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1823: in full_dispatch_request
rv = self.dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1799: in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask_login/utils.py:290: in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
sipa/blueprints/usersuite.py:106: in index
return render_template("usersuite/index.html", payment_form=payment_form, **context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:147: in render_template
return _render(app, template, context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:130: in _render
rv = template.render(context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:1301: in render
self.environment.handle_exception()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:936: in handle_exception
raise rewrite_traceback_stack(source=source)
sipa/templates/usersuite/index.html:2: in top-level template code
{% set page_title = _('Usersuite von ') + current_user.realname.value %}
sipa/templates/base.html:237: in top-level template code
{% block content %}
sipa/templates/usersuite/index.html:7: in block 'content'
{% include 'usersuite/_port_forwardings.html' %}
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:62: in get_source
return self._get_source_fast(environment, template)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.templating.DispatchingJinjaLoader object at 0x7fdc1488d840>
environment = <flask.templating.Environment object at 0x7fdc1488d7e0>
template = 'usersuite/_port_forwardings.html'
def _get_source_fast(
self, environment: Environment, template: str
) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable]]:
for _srcobj, loader in self._iter_loaders(template):
try:
return loader.get_source(environment, template)
except TemplateNotFound:
continue
> raise TemplateNotFound(template)
E jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:98: TemplateNotFound
Check failure on line 42 in tests/blueprints/usersuite/test_usersuite.py
github-actions / JUnit Test Report
test_usersuite.test_usersuite_passes_correct_rows[address]
failed on setup with "jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html"
Raw output
client = <TestClient <Flask 'sipa'>>
@pytest.fixture(scope="module")
def _usersuite_index(client) -> tuple[Response, RenderedTemplate]:
with client.renders_template("usersuite/index.html") as recorded:
> resp = client.assert_ok("usersuite.index")
tests/blueprints/usersuite/test_usersuite.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:62: in assert_ok
return self.assert_response_code(endpoint, code=200, **kw)
tests/assertions.py:56: in assert_response_code
return self.assert_url_response_code(url_for(endpoint), code, **kw)
tests/assertions.py:47: in assert_url_response_code
resp = self.open(url, method=method, **kw)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/testing.py:238: in open
response = super().open(
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1095: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:962: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1243: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2552: in __call__
return self.wsgi_app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py:187: in __call__
return self.app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2532: in wsgi_app
response = self.handle_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2529: in wsgi_app
response = self.full_dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1825: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1823: in full_dispatch_request
rv = self.dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1799: in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask_login/utils.py:290: in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
sipa/blueprints/usersuite.py:106: in index
return render_template("usersuite/index.html", payment_form=payment_form, **context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:147: in render_template
return _render(app, template, context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:130: in _render
rv = template.render(context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:1301: in render
self.environment.handle_exception()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:936: in handle_exception
raise rewrite_traceback_stack(source=source)
sipa/templates/usersuite/index.html:2: in top-level template code
{% set page_title = _('Usersuite von ') + current_user.realname.value %}
sipa/templates/base.html:237: in top-level template code
{% block content %}
sipa/templates/usersuite/index.html:7: in block 'content'
{% include 'usersuite/_port_forwardings.html' %}
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:62: in get_source
return self._get_source_fast(environment, template)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.templating.DispatchingJinjaLoader object at 0x7fdc1488d840>
environment = <flask.templating.Environment object at 0x7fdc1488d7e0>
template = 'usersuite/_port_forwardings.html'
def _get_source_fast(
self, environment: Environment, template: str
) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable]]:
for _srcobj, loader in self._iter_loaders(template):
try:
return loader.get_source(environment, template)
except TemplateNotFound:
continue
> raise TemplateNotFound(template)
E jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:98: TemplateNotFound
Check failure on line 42 in tests/blueprints/usersuite/test_usersuite.py
github-actions / JUnit Test Report
test_usersuite.test_usersuite_passes_correct_rows[finance_balance]
failed on setup with "jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html"
Raw output
client = <TestClient <Flask 'sipa'>>
@pytest.fixture(scope="module")
def _usersuite_index(client) -> tuple[Response, RenderedTemplate]:
with client.renders_template("usersuite/index.html") as recorded:
> resp = client.assert_ok("usersuite.index")
tests/blueprints/usersuite/test_usersuite.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:62: in assert_ok
return self.assert_response_code(endpoint, code=200, **kw)
tests/assertions.py:56: in assert_response_code
return self.assert_url_response_code(url_for(endpoint), code, **kw)
tests/assertions.py:47: in assert_url_response_code
resp = self.open(url, method=method, **kw)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/testing.py:238: in open
response = super().open(
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1095: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:962: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1243: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2552: in __call__
return self.wsgi_app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py:187: in __call__
return self.app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2532: in wsgi_app
response = self.handle_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2529: in wsgi_app
response = self.full_dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1825: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1823: in full_dispatch_request
rv = self.dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1799: in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask_login/utils.py:290: in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
sipa/blueprints/usersuite.py:106: in index
return render_template("usersuite/index.html", payment_form=payment_form, **context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:147: in render_template
return _render(app, template, context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:130: in _render
rv = template.render(context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:1301: in render
self.environment.handle_exception()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:936: in handle_exception
raise rewrite_traceback_stack(source=source)
sipa/templates/usersuite/index.html:2: in top-level template code
{% set page_title = _('Usersuite von ') + current_user.realname.value %}
sipa/templates/base.html:237: in top-level template code
{% block content %}
sipa/templates/usersuite/index.html:7: in block 'content'
{% include 'usersuite/_port_forwardings.html' %}
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:62: in get_source
return self._get_source_fast(environment, template)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.templating.DispatchingJinjaLoader object at 0x7fdc1488d840>
environment = <flask.templating.Environment object at 0x7fdc1488d7e0>
template = 'usersuite/_port_forwardings.html'
def _get_source_fast(
self, environment: Environment, template: str
) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable]]:
for _srcobj, loader in self._iter_loaders(template):
try:
return loader.get_source(environment, template)
except TemplateNotFound:
continue
> raise TemplateNotFound(template)
E jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:98: TemplateNotFound
Check failure on line 42 in tests/blueprints/usersuite/test_usersuite.py
github-actions / JUnit Test Report
test_usersuite.test_usersuite_passes_correct_rows[id]
failed on setup with "jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html"
Raw output
client = <TestClient <Flask 'sipa'>>
@pytest.fixture(scope="module")
def _usersuite_index(client) -> tuple[Response, RenderedTemplate]:
with client.renders_template("usersuite/index.html") as recorded:
> resp = client.assert_ok("usersuite.index")
tests/blueprints/usersuite/test_usersuite.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:62: in assert_ok
return self.assert_response_code(endpoint, code=200, **kw)
tests/assertions.py:56: in assert_response_code
return self.assert_url_response_code(url_for(endpoint), code, **kw)
tests/assertions.py:47: in assert_url_response_code
resp = self.open(url, method=method, **kw)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/testing.py:238: in open
response = super().open(
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1095: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:962: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1243: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2552: in __call__
return self.wsgi_app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py:187: in __call__
return self.app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2532: in wsgi_app
response = self.handle_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2529: in wsgi_app
response = self.full_dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1825: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1823: in full_dispatch_request
rv = self.dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1799: in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask_login/utils.py:290: in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
sipa/blueprints/usersuite.py:106: in index
return render_template("usersuite/index.html", payment_form=payment_form, **context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:147: in render_template
return _render(app, template, context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:130: in _render
rv = template.render(context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:1301: in render
self.environment.handle_exception()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:936: in handle_exception
raise rewrite_traceback_stack(source=source)
sipa/templates/usersuite/index.html:2: in top-level template code
{% set page_title = _('Usersuite von ') + current_user.realname.value %}
sipa/templates/base.html:237: in top-level template code
{% block content %}
sipa/templates/usersuite/index.html:7: in block 'content'
{% include 'usersuite/_port_forwardings.html' %}
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:62: in get_source
return self._get_source_fast(environment, template)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.templating.DispatchingJinjaLoader object at 0x7fdc1488d840>
environment = <flask.templating.Environment object at 0x7fdc1488d7e0>
template = 'usersuite/_port_forwardings.html'
def _get_source_fast(
self, environment: Environment, template: str
) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable]]:
for _srcobj, loader in self._iter_loaders(template):
try:
return loader.get_source(environment, template)
except TemplateNotFound:
continue
> raise TemplateNotFound(template)
E jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:98: TemplateNotFound
Check failure on line 42 in tests/blueprints/usersuite/test_usersuite.py
github-actions / JUnit Test Report
test_usersuite.test_usersuite_passes_correct_rows[ips]
failed on setup with "jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html"
Raw output
client = <TestClient <Flask 'sipa'>>
@pytest.fixture(scope="module")
def _usersuite_index(client) -> tuple[Response, RenderedTemplate]:
with client.renders_template("usersuite/index.html") as recorded:
> resp = client.assert_ok("usersuite.index")
tests/blueprints/usersuite/test_usersuite.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:62: in assert_ok
return self.assert_response_code(endpoint, code=200, **kw)
tests/assertions.py:56: in assert_response_code
return self.assert_url_response_code(url_for(endpoint), code, **kw)
tests/assertions.py:47: in assert_url_response_code
resp = self.open(url, method=method, **kw)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/testing.py:238: in open
response = super().open(
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1095: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:962: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1243: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2552: in __call__
return self.wsgi_app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py:187: in __call__
return self.app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2532: in wsgi_app
response = self.handle_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2529: in wsgi_app
response = self.full_dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1825: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1823: in full_dispatch_request
rv = self.dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1799: in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask_login/utils.py:290: in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
sipa/blueprints/usersuite.py:106: in index
return render_template("usersuite/index.html", payment_form=payment_form, **context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:147: in render_template
return _render(app, template, context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:130: in _render
rv = template.render(context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:1301: in render
self.environment.handle_exception()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:936: in handle_exception
raise rewrite_traceback_stack(source=source)
sipa/templates/usersuite/index.html:2: in top-level template code
{% set page_title = _('Usersuite von ') + current_user.realname.value %}
sipa/templates/base.html:237: in top-level template code
{% block content %}
sipa/templates/usersuite/index.html:7: in block 'content'
{% include 'usersuite/_port_forwardings.html' %}
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:62: in get_source
return self._get_source_fast(environment, template)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.templating.DispatchingJinjaLoader object at 0x7fdc1488d840>
environment = <flask.templating.Environment object at 0x7fdc1488d7e0>
template = 'usersuite/_port_forwardings.html'
def _get_source_fast(
self, environment: Environment, template: str
) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable]]:
for _srcobj, loader in self._iter_loaders(template):
try:
return loader.get_source(environment, template)
except TemplateNotFound:
continue
> raise TemplateNotFound(template)
E jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:98: TemplateNotFound
Check failure on line 42 in tests/blueprints/usersuite/test_usersuite.py
github-actions / JUnit Test Report
test_usersuite.test_usersuite_passes_correct_rows[login]
failed on setup with "jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html"
Raw output
client = <TestClient <Flask 'sipa'>>
@pytest.fixture(scope="module")
def _usersuite_index(client) -> tuple[Response, RenderedTemplate]:
with client.renders_template("usersuite/index.html") as recorded:
> resp = client.assert_ok("usersuite.index")
tests/blueprints/usersuite/test_usersuite.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:62: in assert_ok
return self.assert_response_code(endpoint, code=200, **kw)
tests/assertions.py:56: in assert_response_code
return self.assert_url_response_code(url_for(endpoint), code, **kw)
tests/assertions.py:47: in assert_url_response_code
resp = self.open(url, method=method, **kw)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/testing.py:238: in open
response = super().open(
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1095: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:962: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1243: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2552: in __call__
return self.wsgi_app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py:187: in __call__
return self.app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2532: in wsgi_app
response = self.handle_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2529: in wsgi_app
response = self.full_dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1825: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1823: in full_dispatch_request
rv = self.dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1799: in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask_login/utils.py:290: in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
sipa/blueprints/usersuite.py:106: in index
return render_template("usersuite/index.html", payment_form=payment_form, **context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:147: in render_template
return _render(app, template, context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:130: in _render
rv = template.render(context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:1301: in render
self.environment.handle_exception()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:936: in handle_exception
raise rewrite_traceback_stack(source=source)
sipa/templates/usersuite/index.html:2: in top-level template code
{% set page_title = _('Usersuite von ') + current_user.realname.value %}
sipa/templates/base.html:237: in top-level template code
{% block content %}
sipa/templates/usersuite/index.html:7: in block 'content'
{% include 'usersuite/_port_forwardings.html' %}
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:62: in get_source
return self._get_source_fast(environment, template)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.templating.DispatchingJinjaLoader object at 0x7fdc1488d840>
environment = <flask.templating.Environment object at 0x7fdc1488d7e0>
template = 'usersuite/_port_forwardings.html'
def _get_source_fast(
self, environment: Environment, template: str
) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable]]:
for _srcobj, loader in self._iter_loaders(template):
try:
return loader.get_source(environment, template)
except TemplateNotFound:
continue
> raise TemplateNotFound(template)
E jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:98: TemplateNotFound
Check failure on line 42 in tests/blueprints/usersuite/test_usersuite.py
github-actions / JUnit Test Report
test_usersuite.test_usersuite_passes_correct_rows[mac]
failed on setup with "jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html"
Raw output
client = <TestClient <Flask 'sipa'>>
@pytest.fixture(scope="module")
def _usersuite_index(client) -> tuple[Response, RenderedTemplate]:
with client.renders_template("usersuite/index.html") as recorded:
> resp = client.assert_ok("usersuite.index")
tests/blueprints/usersuite/test_usersuite.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:62: in assert_ok
return self.assert_response_code(endpoint, code=200, **kw)
tests/assertions.py:56: in assert_response_code
return self.assert_url_response_code(url_for(endpoint), code, **kw)
tests/assertions.py:47: in assert_url_response_code
resp = self.open(url, method=method, **kw)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/testing.py:238: in open
response = super().open(
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1095: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:962: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1243: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2552: in __call__
return self.wsgi_app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py:187: in __call__
return self.app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2532: in wsgi_app
response = self.handle_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2529: in wsgi_app
response = self.full_dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1825: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1823: in full_dispatch_request
rv = self.dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1799: in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask_login/utils.py:290: in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
sipa/blueprints/usersuite.py:106: in index
return render_template("usersuite/index.html", payment_form=payment_form, **context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:147: in render_template
return _render(app, template, context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:130: in _render
rv = template.render(context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:1301: in render
self.environment.handle_exception()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:936: in handle_exception
raise rewrite_traceback_stack(source=source)
sipa/templates/usersuite/index.html:2: in top-level template code
{% set page_title = _('Usersuite von ') + current_user.realname.value %}
sipa/templates/base.html:237: in top-level template code
{% block content %}
sipa/templates/usersuite/index.html:7: in block 'content'
{% include 'usersuite/_port_forwardings.html' %}
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:62: in get_source
return self._get_source_fast(environment, template)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.templating.DispatchingJinjaLoader object at 0x7fdc1488d840>
environment = <flask.templating.Environment object at 0x7fdc1488d7e0>
template = 'usersuite/_port_forwardings.html'
def _get_source_fast(
self, environment: Environment, template: str
) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable]]:
for _srcobj, loader in self._iter_loaders(template):
try:
return loader.get_source(environment, template)
except TemplateNotFound:
continue
> raise TemplateNotFound(template)
E jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:98: TemplateNotFound
Check failure on line 42 in tests/blueprints/usersuite/test_usersuite.py
github-actions / JUnit Test Report
test_usersuite.test_usersuite_passes_correct_rows[mail]
failed on setup with "jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html"
Raw output
client = <TestClient <Flask 'sipa'>>
@pytest.fixture(scope="module")
def _usersuite_index(client) -> tuple[Response, RenderedTemplate]:
with client.renders_template("usersuite/index.html") as recorded:
> resp = client.assert_ok("usersuite.index")
tests/blueprints/usersuite/test_usersuite.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:62: in assert_ok
return self.assert_response_code(endpoint, code=200, **kw)
tests/assertions.py:56: in assert_response_code
return self.assert_url_response_code(url_for(endpoint), code, **kw)
tests/assertions.py:47: in assert_url_response_code
resp = self.open(url, method=method, **kw)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/testing.py:238: in open
response = super().open(
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1095: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:962: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1243: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2552: in __call__
return self.wsgi_app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py:187: in __call__
return self.app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2532: in wsgi_app
response = self.handle_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2529: in wsgi_app
response = self.full_dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1825: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1823: in full_dispatch_request
rv = self.dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1799: in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask_login/utils.py:290: in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
sipa/blueprints/usersuite.py:106: in index
return render_template("usersuite/index.html", payment_form=payment_form, **context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:147: in render_template
return _render(app, template, context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:130: in _render
rv = template.render(context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:1301: in render
self.environment.handle_exception()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:936: in handle_exception
raise rewrite_traceback_stack(source=source)
sipa/templates/usersuite/index.html:2: in top-level template code
{% set page_title = _('Usersuite von ') + current_user.realname.value %}
sipa/templates/base.html:237: in top-level template code
{% block content %}
sipa/templates/usersuite/index.html:7: in block 'content'
{% include 'usersuite/_port_forwardings.html' %}
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:62: in get_source
return self._get_source_fast(environment, template)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.templating.DispatchingJinjaLoader object at 0x7fdc1488d840>
environment = <flask.templating.Environment object at 0x7fdc1488d7e0>
template = 'usersuite/_port_forwardings.html'
def _get_source_fast(
self, environment: Environment, template: str
) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable]]:
for _srcobj, loader in self._iter_loaders(template):
try:
return loader.get_source(environment, template)
except TemplateNotFound:
continue
> raise TemplateNotFound(template)
E jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:98: TemplateNotFound
Check failure on line 42 in tests/blueprints/usersuite/test_usersuite.py
github-actions / JUnit Test Report
test_usersuite.test_usersuite_passes_correct_rows[mail_confirmed]
failed on setup with "jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html"
Raw output
client = <TestClient <Flask 'sipa'>>
@pytest.fixture(scope="module")
def _usersuite_index(client) -> tuple[Response, RenderedTemplate]:
with client.renders_template("usersuite/index.html") as recorded:
> resp = client.assert_ok("usersuite.index")
tests/blueprints/usersuite/test_usersuite.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:62: in assert_ok
return self.assert_response_code(endpoint, code=200, **kw)
tests/assertions.py:56: in assert_response_code
return self.assert_url_response_code(url_for(endpoint), code, **kw)
tests/assertions.py:47: in assert_url_response_code
resp = self.open(url, method=method, **kw)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/testing.py:238: in open
response = super().open(
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1095: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:962: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1243: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2552: in __call__
return self.wsgi_app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py:187: in __call__
return self.app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2532: in wsgi_app
response = self.handle_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2529: in wsgi_app
response = self.full_dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1825: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1823: in full_dispatch_request
rv = self.dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1799: in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask_login/utils.py:290: in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
sipa/blueprints/usersuite.py:106: in index
return render_template("usersuite/index.html", payment_form=payment_form, **context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:147: in render_template
return _render(app, template, context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:130: in _render
rv = template.render(context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:1301: in render
self.environment.handle_exception()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:936: in handle_exception
raise rewrite_traceback_stack(source=source)
sipa/templates/usersuite/index.html:2: in top-level template code
{% set page_title = _('Usersuite von ') + current_user.realname.value %}
sipa/templates/base.html:237: in top-level template code
{% block content %}
sipa/templates/usersuite/index.html:7: in block 'content'
{% include 'usersuite/_port_forwardings.html' %}
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:62: in get_source
return self._get_source_fast(environment, template)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.templating.DispatchingJinjaLoader object at 0x7fdc1488d840>
environment = <flask.templating.Environment object at 0x7fdc1488d7e0>
template = 'usersuite/_port_forwardings.html'
def _get_source_fast(
self, environment: Environment, template: str
) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable]]:
for _srcobj, loader in self._iter_loaders(template):
try:
return loader.get_source(environment, template)
except TemplateNotFound:
continue
> raise TemplateNotFound(template)
E jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:98: TemplateNotFound
Check failure on line 42 in tests/blueprints/usersuite/test_usersuite.py
github-actions / JUnit Test Report
test_usersuite.test_usersuite_passes_correct_rows[mail_forwarded]
failed on setup with "jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html"
Raw output
client = <TestClient <Flask 'sipa'>>
@pytest.fixture(scope="module")
def _usersuite_index(client) -> tuple[Response, RenderedTemplate]:
with client.renders_template("usersuite/index.html") as recorded:
> resp = client.assert_ok("usersuite.index")
tests/blueprints/usersuite/test_usersuite.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:62: in assert_ok
return self.assert_response_code(endpoint, code=200, **kw)
tests/assertions.py:56: in assert_response_code
return self.assert_url_response_code(url_for(endpoint), code, **kw)
tests/assertions.py:47: in assert_url_response_code
resp = self.open(url, method=method, **kw)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/testing.py:238: in open
response = super().open(
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1095: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:962: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1243: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2552: in __call__
return self.wsgi_app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py:187: in __call__
return self.app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2532: in wsgi_app
response = self.handle_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2529: in wsgi_app
response = self.full_dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1825: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1823: in full_dispatch_request
rv = self.dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1799: in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask_login/utils.py:290: in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
sipa/blueprints/usersuite.py:106: in index
return render_template("usersuite/index.html", payment_form=payment_form, **context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:147: in render_template
return _render(app, template, context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:130: in _render
rv = template.render(context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:1301: in render
self.environment.handle_exception()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:936: in handle_exception
raise rewrite_traceback_stack(source=source)
sipa/templates/usersuite/index.html:2: in top-level template code
{% set page_title = _('Usersuite von ') + current_user.realname.value %}
sipa/templates/base.html:237: in top-level template code
{% block content %}
sipa/templates/usersuite/index.html:7: in block 'content'
{% include 'usersuite/_port_forwardings.html' %}
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:62: in get_source
return self._get_source_fast(environment, template)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.templating.DispatchingJinjaLoader object at 0x7fdc1488d840>
environment = <flask.templating.Environment object at 0x7fdc1488d7e0>
template = 'usersuite/_port_forwardings.html'
def _get_source_fast(
self, environment: Environment, template: str
) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable]]:
for _srcobj, loader in self._iter_loaders(template):
try:
return loader.get_source(environment, template)
except TemplateNotFound:
continue
> raise TemplateNotFound(template)
E jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:98: TemplateNotFound
Check failure on line 42 in tests/blueprints/usersuite/test_usersuite.py
github-actions / JUnit Test Report
test_usersuite.test_usersuite_passes_correct_rows[realname]
failed on setup with "jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html"
Raw output
client = <TestClient <Flask 'sipa'>>
@pytest.fixture(scope="module")
def _usersuite_index(client) -> tuple[Response, RenderedTemplate]:
with client.renders_template("usersuite/index.html") as recorded:
> resp = client.assert_ok("usersuite.index")
tests/blueprints/usersuite/test_usersuite.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:62: in assert_ok
return self.assert_response_code(endpoint, code=200, **kw)
tests/assertions.py:56: in assert_response_code
return self.assert_url_response_code(url_for(endpoint), code, **kw)
tests/assertions.py:47: in assert_url_response_code
resp = self.open(url, method=method, **kw)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/testing.py:238: in open
response = super().open(
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1095: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:962: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1243: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2552: in __call__
return self.wsgi_app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py:187: in __call__
return self.app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2532: in wsgi_app
response = self.handle_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2529: in wsgi_app
response = self.full_dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1825: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1823: in full_dispatch_request
rv = self.dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1799: in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask_login/utils.py:290: in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
sipa/blueprints/usersuite.py:106: in index
return render_template("usersuite/index.html", payment_form=payment_form, **context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:147: in render_template
return _render(app, template, context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:130: in _render
rv = template.render(context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:1301: in render
self.environment.handle_exception()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:936: in handle_exception
raise rewrite_traceback_stack(source=source)
sipa/templates/usersuite/index.html:2: in top-level template code
{% set page_title = _('Usersuite von ') + current_user.realname.value %}
sipa/templates/base.html:237: in top-level template code
{% block content %}
sipa/templates/usersuite/index.html:7: in block 'content'
{% include 'usersuite/_port_forwardings.html' %}
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:62: in get_source
return self._get_source_fast(environment, template)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.templating.DispatchingJinjaLoader object at 0x7fdc1488d840>
environment = <flask.templating.Environment object at 0x7fdc1488d7e0>
template = 'usersuite/_port_forwardings.html'
def _get_source_fast(
self, environment: Environment, template: str
) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable]]:
for _srcobj, loader in self._iter_loaders(template):
try:
return loader.get_source(environment, template)
except TemplateNotFound:
continue
> raise TemplateNotFound(template)
E jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:98: TemplateNotFound
Check failure on line 42 in tests/blueprints/usersuite/test_usersuite.py
github-actions / JUnit Test Report
test_usersuite.test_usersuite_passes_correct_rows[status]
failed on setup with "jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html"
Raw output
client = <TestClient <Flask 'sipa'>>
@pytest.fixture(scope="module")
def _usersuite_index(client) -> tuple[Response, RenderedTemplate]:
with client.renders_template("usersuite/index.html") as recorded:
> resp = client.assert_ok("usersuite.index")
tests/blueprints/usersuite/test_usersuite.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:62: in assert_ok
return self.assert_response_code(endpoint, code=200, **kw)
tests/assertions.py:56: in assert_response_code
return self.assert_url_response_code(url_for(endpoint), code, **kw)
tests/assertions.py:47: in assert_url_response_code
resp = self.open(url, method=method, **kw)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/testing.py:238: in open
response = super().open(
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1095: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:962: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1243: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2552: in __call__
return self.wsgi_app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py:187: in __call__
return self.app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2532: in wsgi_app
response = self.handle_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2529: in wsgi_app
response = self.full_dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1825: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1823: in full_dispatch_request
rv = self.dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1799: in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask_login/utils.py:290: in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
sipa/blueprints/usersuite.py:106: in index
return render_template("usersuite/index.html", payment_form=payment_form, **context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:147: in render_template
return _render(app, template, context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:130: in _render
rv = template.render(context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:1301: in render
self.environment.handle_exception()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:936: in handle_exception
raise rewrite_traceback_stack(source=source)
sipa/templates/usersuite/index.html:2: in top-level template code
{% set page_title = _('Usersuite von ') + current_user.realname.value %}
sipa/templates/base.html:237: in top-level template code
{% block content %}
sipa/templates/usersuite/index.html:7: in block 'content'
{% include 'usersuite/_port_forwardings.html' %}
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:62: in get_source
return self._get_source_fast(environment, template)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.templating.DispatchingJinjaLoader object at 0x7fdc1488d840>
environment = <flask.templating.Environment object at 0x7fdc1488d7e0>
template = 'usersuite/_port_forwardings.html'
def _get_source_fast(
self, environment: Environment, template: str
) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable]]:
for _srcobj, loader in self._iter_loaders(template):
try:
return loader.get_source(environment, template)
except TemplateNotFound:
continue
> raise TemplateNotFound(template)
E jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:98: TemplateNotFound
Check failure on line 42 in tests/blueprints/usersuite/test_usersuite.py
github-actions / JUnit Test Report
test_usersuite.test_usersuite_passes_correct_rows[userdb_status]
failed on setup with "jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html"
Raw output
client = <TestClient <Flask 'sipa'>>
@pytest.fixture(scope="module")
def _usersuite_index(client) -> tuple[Response, RenderedTemplate]:
with client.renders_template("usersuite/index.html") as recorded:
> resp = client.assert_ok("usersuite.index")
tests/blueprints/usersuite/test_usersuite.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:62: in assert_ok
return self.assert_response_code(endpoint, code=200, **kw)
tests/assertions.py:56: in assert_response_code
return self.assert_url_response_code(url_for(endpoint), code, **kw)
tests/assertions.py:47: in assert_url_response_code
resp = self.open(url, method=method, **kw)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/testing.py:238: in open
response = super().open(
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1095: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:962: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1243: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2552: in __call__
return self.wsgi_app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py:187: in __call__
return self.app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2532: in wsgi_app
response = self.handle_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2529: in wsgi_app
response = self.full_dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1825: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1823: in full_dispatch_request
rv = self.dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1799: in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask_login/utils.py:290: in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
sipa/blueprints/usersuite.py:106: in index
return render_template("usersuite/index.html", payment_form=payment_form, **context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:147: in render_template
return _render(app, template, context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:130: in _render
rv = template.render(context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:1301: in render
self.environment.handle_exception()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:936: in handle_exception
raise rewrite_traceback_stack(source=source)
sipa/templates/usersuite/index.html:2: in top-level template code
{% set page_title = _('Usersuite von ') + current_user.realname.value %}
sipa/templates/base.html:237: in top-level template code
{% block content %}
sipa/templates/usersuite/index.html:7: in block 'content'
{% include 'usersuite/_port_forwardings.html' %}
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:62: in get_source
return self._get_source_fast(environment, template)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.templating.DispatchingJinjaLoader object at 0x7fdc1488d840>
environment = <flask.templating.Environment object at 0x7fdc1488d7e0>
template = 'usersuite/_port_forwardings.html'
def _get_source_fast(
self, environment: Environment, template: str
) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable]]:
for _srcobj, loader in self._iter_loaders(template):
try:
return loader.get_source(environment, template)
except TemplateNotFound:
continue
> raise TemplateNotFound(template)
E jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:98: TemplateNotFound
Check failure on line 42 in tests/blueprints/usersuite/test_usersuite.py
github-actions / JUnit Test Report
test_usersuite.test_usersuite_passes_correct_rows[wifi_password]
failed on setup with "jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html"
Raw output
client = <TestClient <Flask 'sipa'>>
@pytest.fixture(scope="module")
def _usersuite_index(client) -> tuple[Response, RenderedTemplate]:
with client.renders_template("usersuite/index.html") as recorded:
> resp = client.assert_ok("usersuite.index")
tests/blueprints/usersuite/test_usersuite.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:62: in assert_ok
return self.assert_response_code(endpoint, code=200, **kw)
tests/assertions.py:56: in assert_response_code
return self.assert_url_response_code(url_for(endpoint), code, **kw)
tests/assertions.py:47: in assert_url_response_code
resp = self.open(url, method=method, **kw)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/testing.py:238: in open
response = super().open(
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1095: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:962: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1243: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2552: in __call__
return self.wsgi_app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py:187: in __call__
return self.app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2532: in wsgi_app
response = self.handle_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2529: in wsgi_app
response = self.full_dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1825: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1823: in full_dispatch_request
rv = self.dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1799: in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask_login/utils.py:290: in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
sipa/blueprints/usersuite.py:106: in index
return render_template("usersuite/index.html", payment_form=payment_form, **context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:147: in render_template
return _render(app, template, context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:130: in _render
rv = template.render(context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:1301: in render
self.environment.handle_exception()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:936: in handle_exception
raise rewrite_traceback_stack(source=source)
sipa/templates/usersuite/index.html:2: in top-level template code
{% set page_title = _('Usersuite von ') + current_user.realname.value %}
sipa/templates/base.html:237: in top-level template code
{% block content %}
sipa/templates/usersuite/index.html:7: in block 'content'
{% include 'usersuite/_port_forwardings.html' %}
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:62: in get_source
return self._get_source_fast(environment, template)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.templating.DispatchingJinjaLoader object at 0x7fdc1488d840>
environment = <flask.templating.Environment object at 0x7fdc1488d7e0>
template = 'usersuite/_port_forwardings.html'
def _get_source_fast(
self, environment: Environment, template: str
) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable]]:
for _srcobj, loader in self._iter_loaders(template):
try:
return loader.get_source(environment, template)
except TemplateNotFound:
continue
> raise TemplateNotFound(template)
E jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:98: TemplateNotFound
Check failure on line 42 in tests/blueprints/usersuite/test_usersuite.py
github-actions / JUnit Test Report
test_usersuite.test_usersuite_contains_urls
failed on setup with "jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html"
Raw output
client = <TestClient <Flask 'sipa'>>
@pytest.fixture(scope="module")
def _usersuite_index(client) -> tuple[Response, RenderedTemplate]:
with client.renders_template("usersuite/index.html") as recorded:
> resp = client.assert_ok("usersuite.index")
tests/blueprints/usersuite/test_usersuite.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/assertions.py:62: in assert_ok
return self.assert_response_code(endpoint, code=200, **kw)
tests/assertions.py:56: in assert_response_code
return self.assert_url_response_code(url_for(endpoint), code, **kw)
tests/assertions.py:47: in assert_url_response_code
resp = self.open(url, method=method, **kw)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/testing.py:238: in open
response = super().open(
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1095: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:962: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/test.py:1243: in run_wsgi_app
app_rv = app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2552: in __call__
return self.wsgi_app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/werkzeug/middleware/proxy_fix.py:187: in __call__
return self.app(environ, start_response)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2532: in wsgi_app
response = self.handle_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:2529: in wsgi_app
response = self.full_dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1825: in full_dispatch_request
rv = self.handle_user_exception(e)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1823: in full_dispatch_request
rv = self.dispatch_request()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/app.py:1799: in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask_login/utils.py:290: in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
sipa/blueprints/usersuite.py:106: in index
return render_template("usersuite/index.html", payment_form=payment_form, **context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:147: in render_template
return _render(app, template, context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:130: in _render
rv = template.render(context)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:1301: in render
self.environment.handle_exception()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/jinja2/environment.py:936: in handle_exception
raise rewrite_traceback_stack(source=source)
sipa/templates/usersuite/index.html:2: in top-level template code
{% set page_title = _('Usersuite von ') + current_user.realname.value %}
sipa/templates/base.html:237: in top-level template code
{% block content %}
sipa/templates/usersuite/index.html:7: in block 'content'
{% include 'usersuite/_port_forwardings.html' %}
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:62: in get_source
return self._get_source_fast(environment, template)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <flask.templating.DispatchingJinjaLoader object at 0x7fdc1488d840>
environment = <flask.templating.Environment object at 0x7fdc1488d7e0>
template = 'usersuite/_port_forwardings.html'
def _get_source_fast(
self, environment: Environment, template: str
) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable]]:
for _srcobj, loader in self._iter_loaders(template):
try:
return loader.get_source(environment, template)
except TemplateNotFound:
continue
> raise TemplateNotFound(template)
E jinja2.exceptions.TemplateNotFound: usersuite/_port_forwardings.html
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/flask/templating.py:98: TemplateNotFound