Commit 54fdeef0 authored by ale's avatar ale
Browse files

add missing flask.make_response import

parent 2630b503
......@@ -5,7 +5,7 @@ from gevent import pywsgi
from gevent import monkey
from flask import Flask, request, render_template, abort
from flask import Flask, request, render_template, abort, make_response
from nospam.flaskext.xmlrpc import XMLRPCHandler
from nospam import api
......@@ -50,6 +50,10 @@ class HttpTest(unittest.TestCase):
self.assertEquals(200, resp.status_code)
self.assert_('About' in
def test_vars(self):
resp ='/vars')
self.assertEquals(200, resp.status_code)
def test_rpc2(self):
resp ='/RPC2')
self.assertEquals(200, resp.status_code)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment