I\'m using flask to do register and login:
from flask.ext.security.views import register, login class Register(Resource): def post(self): return
It seems that you have to wrap you testing calls with something like this:
with self.app.test_client() as client: data = {'email': 'test@test', 'password': 'password'} rv = client.post('/2014-10-17/register', data=json.dumps(data)) ...