django-attest 0.9.1

Provides Django specific testing helpers to Attest
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, 9:08 GMT
price:
FREE!
developed by:
Bradley Ayers
homepage:
github.com
license type:
BSD License 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

What's New in This Release:
  • Fix requirements for Attest
read full changelog

Add your review!

SUBMIT