django-attest 0.9.1

Provides Django specific testing helpers to Attest

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!

What's new in django-attest 0.9.1:

  • Fix requirements for Attest
Read full changelog
send us
an update
LICENSE TYPE:
BSD License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Bradley Ayers
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
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:

Last updated on September 25th, 2012

requirements

#testing helpers #Django Attest #Django #Attest #testing #helpers

Add your review!

SUBMIT