-
Notifications
You must be signed in to change notification settings - Fork 0
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
#160233942 Add feature to update food order status #4
#160233942 Add feature to update food order status #4
Conversation
[finishes #160231913]
…torious/speedy_chakula_app into ft-fetch-all-orders-160231913
Failing unit tests to FETCH A SINGLE ORDER
Fetch food order ny order ID
Update order status
Nice one, just noted are you using unittest for the application. |
I think you can put the Pipfile.lock in your .gitignore. What do you think? |
Hi, I've been thinking on that myself. Following the discussion on the same issue in pypa/pipenv#598 it seems that tracking the pipfile is recomended. Pls Advise.... |
I think it's fine having it there. We can always remove it later on if it causes any trouble. |
LGTM. I'm merging this now. |
What does this PR do?
Description of Task to be completed?
PUT /api/v1/orders/<orderID>
How the app should be tested
Install python3
Pipenv & Virtual Environments
On a terminal (Linux), Install and set up git
sudo apt install git
Clone the repository
git clone https://github.com/artorious/speedy_chakula_app.git
Run
cd speedy_chakula_app/
Run
git checkout ft-update-food-order-160233942
In a virutal environment, run
pipenv shell
to install requirementsTest the code
coverage run -m pytest -v app/tests/test* ; coverage report app/tests/test_* app/*.py
run
FLASK_APP=run.py ; flask run
Test endpoint on Postman
Any background context you want to provide?
API endpoint uses data structures to store data in memory
What are the relevant pivotal tracker stories?
Failing unit Tests
Passing unit Tests
Screenshots
Questions: