Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thats exactly what I was talking about. Why would you even consider replacing the test client? What value could it possibly bring?

There's no need to test the HTTP lifecycle when you're performing simple "heres the data for my view, execute it, and return the response to me". The http client itself should be tested, as well as Django's internals. It should be clear and obvious separation of concerns.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: