There is Django app and a test for it. I am receiving the error:
Traceback (most recent call last):
File "../support/tests.py", line 17, in foo
self.assertEqual(response.status_code, HttpResponseForbidden.status_code)
AssertionError: 200 != 403
The code for the test itself, that causes trouble is:
response = self.client.get('/support/download/bar/')
self.assertEqual(response.status_code, HttpResponseForbidden.status_code)
I don't understand the routine to diagnose this problem, where to start looking at. Browsing web for similar issue didn't help.
Looks like there is some problem with the url /support/download/bar/
?