(client, auth, path)
| 67 | |
| 68 | @pytest.mark.parametrize("path", ("/create", "/1/update")) |
| 69 | def test_create_update_validate(client, auth, path): |
| 70 | auth.login() |
| 71 | response = client.post(path, data={"title": "", "body": ""}) |
| 72 | assert b"Title is required." in response.data |
| 73 | |
| 74 | |
| 75 | def test_delete(client, auth, app): |