Testing new unit tests
This commit is contained in:
parent
d94566ef20
commit
bedcb7d5f4
3 changed files with 4 additions and 1 deletions
|
|
@ -274,6 +274,8 @@ class AMPMultiConnectionProtocol(amp.AMP):
|
||||||
self.send_mode = True
|
self.send_mode = True
|
||||||
self.send_task = None
|
self.send_task = None
|
||||||
self.multibatches = 0
|
self.multibatches = 0
|
||||||
|
# later twisted amp has its own __init__
|
||||||
|
super(AMPMultiConnectionProtocol, self).__init__(*args, **kwargs)
|
||||||
|
|
||||||
def dataReceived(self, data):
|
def dataReceived(self, data):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -215,6 +215,7 @@ class TextToHTMLparser(object):
|
||||||
text (str): Processed text.
|
text (str): Processed text.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
return text
|
||||||
return text.replace(r'\n', r'<br>')
|
return text.replace(r'\n', r'<br>')
|
||||||
|
|
||||||
def convert_urls(self, text):
|
def convert_urls(self, text):
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends "base.html" %}
|
{% extends "website/base.html" %}
|
||||||
|
|
||||||
{% block titleblock %}Home{% endblock %}
|
{% block titleblock %}Home{% endblock %}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue