Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка валидации ответа при получении ответа со статус-кодом 404. #3

Open
Roophina opened this issue Sep 28, 2021 · 0 comments

Comments

@Roophina
Copy link

Roophina commented Sep 28, 2021

Выполнить PUT запрос на обновление данных пользователя uuid = None (или у uuid невалидное значение)
Ожидаемый результат: статус-код 404, тело ответа содержит json
Фактический результат: в теле ответа html

\n<title>404 Not Found</title>\n

Not Found

\n

The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

\n'

тест падает с ошибкой JSONDecodeError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant