Is it a view mix in?
It's a bit difficult to tell you much without more information.
A few you things that you may find useful or not for testing :
. Test cases can override settings such as the urlconf
. There's a test client to test views
. Class based views can sometimes be tested without any of the former by just testing the methods in them
. You can always use mocking library
. Tests are basically just python code with a lot of asserts, you can always add viewed in them
. You can use fixtures for test data if you see fit
Hope this helps!
Thomas
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Is it a view mix in?
It's a bit difficult to tell you much without more information.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/1Fkl5iGxg74J.