My django application is having a handler for each functionality (e.g. Salesinvoice handler for create/save/retrieve the invoice models with validation). These handlers are used in the views to perform the action user wanted (e.g. Create invoice).
To ensure reliability of application, Will it be sufficient to unittest only the handlers? My idea in the above design is that if i need i can create a commandline interface using the handler instead of webinterface. Is this design of the application good to ensure reliably unittest django app? User request --> Views --> Handler (Unit test only the handler) --> Model
*Is there any python/django library to automate the testing of views? * My goal is to ensure reliability of application by doing automated testing as much as possible.