Closed max-bertinetti closed 2 years ago
@eclecticlly you right, the tests code in the bloggy example was not updated accordingly during releases.
Thanks to your tests, I found the 303 issue is actually dependant of a bug in the testing client context which is not cloning the response data accordingly. Can you open up a PR with the edits you made in bloggy tests? I will push on that also the fix for the testing client.
Hi @gi0baro...sorry to bother you againg...
The actual test file in the bloggy example is failing 4 tests of 4...
I changed this way but still test_no_admin_access is failing...
FAILED test.py::test_no_admin_access - assert 200 == 303
I suspect it is following the redirect and so it receive a 200 code.
Thanks in advance