Keepcool Testers¶
You can find below a short description of every tester available in django-keepcool.
keepcool.testers.ViewTester¶
Django View tester. Checks whether your view is accessible and responds correctly. It checks if HttpResponse status code is the expected one.
keepcool.testers.RedirectViewTester¶
Django Redirect View tester. Checks whether your view is accessible and responds correctly. It checks if HttpResponse status code is the expected one.
keepcool.testers.TemplateViewTester¶
Django Template View tester. Checks whether your view is accessible and responds correctly. It checks if HttpResponse status code is the expected one.
keepcool.testers.FormViewTester¶
Django Form View tester. Checks whether your view is accessible and responds correctly. Checks that form submission is correctly handled.
keepcool.testers.CreateViewTester¶
- Django CreateView tester. Checks that :
- the view is accessible.
- the form submission is correctly handled.
- a new object is created.
keepcool.testers.UpdateViewTester¶
- Django UpdateView tester. Checks that :
- the view is accessible.
- the form submission is correctly handled.
- no objects are created or deleted.
keepcool.testers.DeleteViewTester¶
- Django DeleteView tester. Checks that :
- the view is accessible.
- the form submission is correctly handled.
- an object is deleted.
keepcool.testers.NamedFormwizardTester¶
- Django NamedUrlWizardView tester. Checks that :
- the formwizard is accessible.
- very steps are accessible and correctly chained.
- every form submission is correctly handled.
- an object is deleted.