Cleaned up code, added in a CustomerOrder table with methods to get the id, and set the order to complete
Related Ticket(s)
33 #8
Testing
Testing is based off of Suzy being the only customer with one order and payment type. Because there are tests that test for True/False, it might be worthwhile to do the tests one at a time.
[X ] There are new unit tests in this PR, and I verify that there is full coverage of all new code.
[X] I certify that all existing tests pass
Documentation
[X] There is new documentation in this pull request that must be reviewed..
Deploy Notes
Notes regarding deployment the contained body of work. These should note any
db migrations, etc.
git pull --prune
git checkout amCreateOrder
Steps to Test
Outline the steps to test the code in this pull request.
run testOrder.py commenting out tests one at a time
Review Customers.py as a few clean up changes were made.
Questions
order_is_complete will need to be expanded. Perhaps query by customer id AND if the order is set to FALSE.
Let me know if you have any questions. I'm planning to walk through this in the morning (2/14). 😪
Description
Cleaned up code, added in a CustomerOrder table with methods to get the id, and set the order to complete
Related Ticket(s)
33 #8
Testing
Testing is based off of Suzy being the only customer with one order and payment type. Because there are tests that test for True/False, it might be worthwhile to do the tests one at a time.
[X ] There are new unit tests in this PR, and I verify that there is full coverage of all new code. [X] I certify that all existing tests pass
Documentation
[X] There is new documentation in this pull request that must be reviewed..
Deploy Notes
Notes regarding deployment the contained body of work. These should note any db migrations, etc.
Steps to Test
Outline the steps to test the code in this pull request.
Questions
order_is_complete
will need to be expanded. Perhaps query by customer id AND if the order is set to FALSE.Let me know if you have any questions. I'm planning to walk through this in the morning (2/14). 😪