-
Notifications
You must be signed in to change notification settings - Fork 39
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
Conversation
@@ -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', |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 | ||
|
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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>
352a62f
to
3c1e1ff
Compare
Signed-off-by: Leonardo Rossi leonardo.r@cern.ch