140👍
✅
It just uses the standard python unittest, http://docs.python.org/library/unittest.html#assert-methods, extended with Django-specific asserts which can be found here.
8👍
the link that worked for me is https://docs.djangoproject.com/en/dev/topics/testing/overview/#assertions
- [Django]-Django DateField default options
- [Django]-Problems with contenttypes when loading a fixture in Django
- [Django]-What does on_delete do on Django models?
5👍
The django custom methods are at https://docs.djangoproject.com/en/dev/topics/testing/#assertions
- [Django]-In Django – Model Inheritance – Does it allow you to override a parent model's attribute?
- [Django]-Function decorators with parameters on a class based view in Django
- [Django]-Django admin make a field read-only when modifying obj but required when adding new obj
Source:stackexchange.com