Test invalid older_than, template_types, and bad ids

Come up with some simple tests in the routes, just to see we get
back what we expect as errors.
This commit is contained in:
Paul Craig
2016-11-28 15:12:03 +00:00
parent 2ca675eb73
commit 4082d38c0c
3 changed files with 71 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ from itertools import groupby
from flask import current_app
from werkzeug.datastructures import MultiDict
from sqlalchemy import (desc, func, or_, and_, asc, cast, Text)
from sqlalchemy import (desc, func, or_, and_, asc)
from sqlalchemy.orm import joinedload
from app import db, create_uuid

View File

@@ -1,5 +1,4 @@
from flask import jsonify, request, url_for
from app import api_user
from app.dao import notifications_dao
from app.schema_validation import validate