ran and fixed tests
This commit is contained in:
@ -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],
|
||||
|
Reference in New Issue
Block a user