mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
fixed recipe tests paths and edit max switch
This commit is contained in:
@@ -14,6 +14,7 @@ def test_switch_recipe(u1_s1, recipe_1_s1, space_1):
|
||||
|
||||
url = reverse('edit_recipe', args=[recipe_1_s1.pk])
|
||||
r = u1_s1.get(url)
|
||||
print(r)
|
||||
assert r.status_code == 302
|
||||
|
||||
r = u1_s1.get(r.url)
|
||||
|
||||
Reference in New Issue
Block a user