Does anyone have a good example / example of writing good tests for views? Most of the material I discovered has been since mid-2008, which is only a little useful.
Alex Gaynor wrote some tips on this very issue just the other day:
Getting started with testing in Django
I'm not sure if this is exactly what you are looking for, but I studied this topic and found this sample test code very useful.
http://bitbucket.org/ubernostrum/django-registration/src/tip/registration/tests/views.py
Source: https://habr.com/ru/post/1724356/More articles:SendKeys for Python 3.1 on Windows - pythonHow can I debug SendKeysCtypes on (win7 64bit, py2.7) further? - pythonEmbedded application and worn flash drives - embeddedUpdating text in the CW32 STATIC API using WS_EX_TRANSPARENT - c ++AutoMapper with Generic Type Inheritance - c #Using a flag to determine spoken language - language-designКак получить интерфейс jQuery для работы с расширением Firefox - jqueryUsing LINQ generated classes directly? - classTortoise SVN Repo-Browser - repositoryIs Interop.Domino dll thread safe? - c # -2.0All Articles