e2e: add tests for proxy provider and outposts

This commit is contained in:
Jens Langhammer
2020-09-16 21:54:35 +02:00
parent 6187436518
commit f1ccef7f6a
7 changed files with 121 additions and 33 deletions

View File

@ -1,11 +1,5 @@
"""passbook lib template utilities"""
from django.template import Context, Template, loader
def render_from_string(tmpl: str, ctx: Context) -> str:
"""Render template from string to string"""
template = Template(tmpl)
return template.render(ctx)
from django.template import Context, loader
def render_to_string(template_path: str, ctx: Context) -> str: