ran and fixed tests

This commit is contained in:
smilerz
2021-08-13 15:22:22 -05:00
parent 447ead59a9
commit 7b4123462d
5 changed files with 12 additions and 8 deletions

View File

@ -4,16 +4,16 @@ import pytest
from django.urls import reverse
from django_scopes import scopes_disabled
from cookbook.models import Food, Ingredient, Step, Recipe
from cookbook.models import Recipe
LIST_URL = 'api:recipe-list'
DETAIL_URL = 'api:recipe-detail'
# TODO need to add extensive tests against recipe search to go through all of the combinations of parameters
# probably needs to include a far more extensive set of initial recipes to effectively test results
# and to ensure that all parts of the code are exercised.
# TODO should probably consider adding code coverage plugin to the test suite
@pytest.mark.parametrize("arg", [
['a_u', 403],
['g1_s1', 200],