'Unicode handling for Session model'

def test_session_title(self):

    with app.test_request_context():
        try:
            str(Session.query.get(1))
        except UnicodeEncodeError:
            self.fail('UnicodeEncodeError    for    session')
