Fix unit tests

This commit is contained in:
Aarni Halinen
2022-08-01 22:29:06 +03:00
parent 2628d753f5
commit 321d45b628
31 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ class JobAd(models.Model):
def generateMessage(heading: str, title: str, description: str, url: str):
return render_to_string(
"webapp:tg_message.tpl",
"tg_message.tpl",
{"heading": heading, "title": title, "description": description, "url": url},
)
+3 -3
View File
@@ -14,14 +14,14 @@
<div class="row">
<div class="col">
{% block header %}
{% include "webapp:header.html" %}
{% include "header.html" %}
{% endblock %}
</div>
</div>
<div class="row">
<div class="col">
{% block navigation %}
{% include "webapp:navigation.html" %}
{% include "navigation.html" %}
{% endblock %}
</div>
</div>
@@ -33,6 +33,6 @@
</div>
</div>
{% block footer %}
{% include "webapp:footer.html" %}
{% include "footer.html" %}
{% endblock footer %}
{% endblock %}
+1 -1
View File
@@ -1,4 +1,4 @@
{% extends "webapp:base.html" %}
{% extends "base.html" %}
{% block content %}
{% load i18n %}
+1 -1
View File
@@ -1,4 +1,4 @@
{% extends "webapp:base.html" %}
{% extends "base.html" %}
{% block content %}
{% load i18n %}
+1 -1
View File
@@ -1,4 +1,4 @@
{% extends "webapp:base.html" %}
{% extends "base.html" %}
{% block content %}
{% load i18n %}
+1 -1
View File
@@ -1,4 +1,4 @@
{% extends "webapp:base.html" %}
{% extends "base.html" %}
{% block content %}
{% load i18n %}
+1 -1
View File
@@ -1,4 +1,4 @@
{% extends "webapp:base.html" %}
{% extends "base.html" %}
{% load i18n %}
{% block content %}
+1 -1
View File
@@ -1,4 +1,4 @@
{% extends "webapp:base.html" %}
{% extends "base.html" %}
{% block content %}
{% load i18n %}
+1 -1
View File
@@ -1,4 +1,4 @@
{% extends "webapp:base.html" %}
{% extends "base.html" %}
{% block content %}
{% load i18n %}
+1 -1
View File
@@ -1,4 +1,4 @@
{% extends "webapp:base.html" %}
{% extends "base.html" %}
{% block content %}
{% load i18n %}
+1 -1
View File
@@ -106,7 +106,7 @@ def send_email(to: str, subject: str, body: str, html: bool = False):
def send_signup_email(to, subject, id, uuid, content):
message = render_to_string(
"webapp:signup_email.html",
"signup_email.html",
{
"url": f"https://{FRONTEND_URL}/signup/edit/{id}/{uuid}",
"content": markdown.markdown(content),