django-attest is a Django app that provides the same testing helper functionality as Django's :class:`django.test.TestCase` wrapper of :class:`unittest.TestCase`.
django_attest.TestContext provides the same functionality as subclassing django.test.TestCase, and django_attest.TransactionTestContext does the same as django.test.TransactionTestCase.
Both contexts provide a django.test.TestClient object (normally accessed via self.client in django.test.TestCase tests), which can be used to make requests to views for testing.
Installation:
Just run python setup.py install or pip install < tar.gz >.
You're done! (There's no reason to add it to your INSTALLED_APPS)
Usage:
The functionality is implemented as a context for tests:
If you want to specify fixtures, urls, a client_class, or multi_db, simply pass in these options when creating the :class:`django_tables.TestContext` object:
Product's homepage
Requirements:
· Python
· Django
What's New in This Release: [ read full changelog ]
· Fix requirements for Attest