Added tests for get api endpoint

This commit is contained in:
Rebecca Law
2016-01-20 15:41:19 +00:00
parent 9eb856b86e
commit 3e141e05cb
2 changed files with 10 additions and 4 deletions

View File

@@ -123,7 +123,7 @@ def get_api_keys(service_id):
except DAOException as e:
return jsonify(result='error', message=str(e)), 400
return jsonify(apiKeys=api_keys_schema.dump(api_keys)), 200
return jsonify(apiKeys=api_keys_schema.dump(api_keys).data), 200
@service.route('/<int:service_id>/template', methods=['POST'])