Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor of models.py; integration tests #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

nicowe
Copy link
Member

@nicowe nicowe commented Mar 22, 2014

Changed the fields in a service to be Report field instead of
dictionaries to allow validation on their content.
Added some more doc-strings
test_api.py contains integration tests
moved curl scripts to seperate folder
check that tests use the test database
changed how we convert mongo docs to json

@@ -25,14 +26,12 @@
db = MongoEngine(app)

import models
#TODO: where is this currently used? --nweinert
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is part of the admin infrastructure and used by flask-security.

nicowe and others added 3 commits April 20, 2014 16:52
Changed the fields in a service to be Report field instead of
dictionaries to allow validation on their content.
Added some more doc-strings
test_api.py contains integration tests
moved curl scripts to seperate folder
check that tests use the test database
changed how we convert mongo docs to json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants