I've been using django for a couple months now and I'm starting to get comfortable with it. At this point in my development I want to begin integrating unit testing and I've discovered unit testing a view to be tricky because of the way that django implements views with functions. For example, each function is a view/page in django if the function is assigned a url.
I could also be confused on how MVT is supposed to be working. I think in MVT the V is similar to the C in MVC but if that's not the case then I could see how I may not need to unit test the views. I understand how to unit test the models but I guess I need to figure out how to test the controlling code while still maintaining proper use of the django framework.
Basically I just want to have as near to 100% code coverage as possible in django.
Thanks guys!