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

tests: addition of test_examples_app.py #43

Merged
merged 1 commit into from
Sep 22, 2016

Conversation

hachreak
Copy link
Member

Signed-off-by: Leonardo Rossi leonardo.r@cern.ch

@hachreak hachreak added this to the I3B-API-Docs milestone Sep 21, 2016
@hachreak hachreak self-assigned this Sep 21, 2016
@@ -66,8 +74,6 @@
SQLALCHEMY_TRACK_MODIFICATIONS=True,
INDEXER_DEFAULT_INDEX=index_name,
INDEXER_DEFAULT_DOC_TYPE='testrecord-v1.0.0',
SQLALCHEMY_DATABASE_URI=os.getenv('SQLALCHEMY_DATABASE_URI',
Copy link
Member

Choose a reason for hiding this comment

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

please keep it so people can use different databases with their example app.

Copy link
Member Author

Choose a reason for hiding this comment

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

done


cd $DIR
export FLASK_APP=app.py

Copy link
Member

Choose a reason for hiding this comment

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

we should include also db destroy --yes-i-know

Copy link
Member Author

Choose a reason for hiding this comment

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

done

* Adds test_example_app.py. (closes inveniosoftware#36)

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
@jirikuncar jirikuncar self-assigned this Sep 22, 2016
@hachreak
Copy link
Member Author

:shipit: @jirikuncar ?

@jirikuncar jirikuncar merged commit 3c1e1ff into inveniosoftware:master Sep 22, 2016
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.

tests: addition of test_example_app.py
2 participants