Testing new unit tests

This commit is contained in:
Griatch 2019-02-19 20:18:36 +01:00
parent d94566ef20
commit bedcb7d5f4
3 changed files with 4 additions and 1 deletions

View file

@ -274,6 +274,8 @@ class AMPMultiConnectionProtocol(amp.AMP):
self.send_mode = True
self.send_task = None
self.multibatches = 0
# later twisted amp has its own __init__
super(AMPMultiConnectionProtocol, self).__init__(*args, **kwargs)
def dataReceived(self, data):
"""

View file

@ -215,6 +215,7 @@ class TextToHTMLparser(object):
text (str): Processed text.
"""
return text
return text.replace(r'\n', r'<br>')
def convert_urls(self, text):

View file

@ -1,4 +1,4 @@
{% extends "base.html" %}
{% extends "website/base.html" %}
{% block titleblock %}Home{% endblock %}