EducatedCamels / djangazon

Django powered web application for Bangazon site
0 stars 0 forks source link

Completed required tests 3 and 4. Created setup class #38

Closed kayrahbear closed 7 years ago

kayrahbear commented 7 years ago

1. TITLE:

Created required tests 3 and 4. Created a SetUp class for testing purposes.

2. STATUS:

READY

3. DESCRIPTION:

Modified Order model to make payment_type into a nullable foreign key constraint.

Wrote tests to verify that the product detail view displays the correct product's information

4. RELATED TICKETS:

ALL

5. FILES CHANGED:

models.py tests.py

6. STEPS TO RUN PROJECT:

Installation Steps

Follow installation steps outlined in README.md

Run steps

git fetch git checkout kb-unit-testing-hooray ./damnit_django.sh python manage.py test

8. TESTING THE CODE:

Name of test test_product_detail_view_returns_correct_product test_product_detail_view_has_all_information

Fail/ Pass Pass (x2)

How to run in command line python manage.py test

For reference: Bangazon Employee Handbook: Pull Requests

helanan commented 7 years ago

bitmoji

Looks good!

Deanomatic commented 7 years ago

Looks good! Great job girl!! 🎂