add some tests

This commit is contained in:
Matthew Scragg 2014-10-06 16:07:20 -05:00
parent cc7fa1b433
commit 8a4cda7f58
6 changed files with 15 additions and 11 deletions

View file

@ -1,10 +1,12 @@
import sys
if 'threading' in sys.modules:
del sys.modules['threading']
# Monkey patch stdlib.
import gevent.monkey
gevent.monkey.patch_all(aggressive=False, subprocess=True)
# Set default encoding to UTF-8
import sys
reload(sys)
# noinspection PyUnresolvedReferences
sys.setdefaultencoding('utf-8')

View file

@ -16,11 +16,10 @@
</form>
</div>
{% endif %}
<div id="page-content" style="display:none">
{{ page.data }}
</div>
<div id="page-content"></div>
{% endblock %}
{% block js %}
<script>
$(function(){