<commit_before><!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc/generate-toc again -->
**Table of Contents**

- [django-test-mixins](#django-test-mixins)
    - [Usage](#usage)
        - [HttpCodeTestCase](#httpcodetestcase)
        - [EmptyCacheTestCase](#emptycachetestcase)
        - [FormValidationTestCase](#formvalidationtestcase)
        - [RedirectTestCase](#redirecttestcase)
        - [Combining test cases](#combining-test-cases)
    - [Changelog](#changelog)
        - [v1.8](#v18)
        - [v1.7.1](#v171)
        - [v1.7](#v17)
        - [v1.6](#v16)
        - [v1.5](#v15)
        - [v1.4](#v14)
        - [v1.3](#v13)
        - [v1.2](#v12)
        - [v1.1](#v11)
        - [v1.0](#v10)
    - [Uploading to PyPI](#uploading-to-pypi)

<!-- markdown-toc end -->

# django-test-mixins

Additional assertions and test conveniences for testing django
sites. MIT license.

[![Build Status](https://travis-ci.org/Wilfred/django-test-mixins.png)](https://travis-ci.org/Wilfred/django-test-mixins)
[![Coverage Status](https://coveralls.io/repos/Wilfred/django-test-mixins/badge.png)](https://coveralls.io/r/Wilfred/django-test-mixins)
[![Latest Version](https://pypip.in/v/django_test_mixins/badge.png)](https://pypi.python.org/pypi/django_test_mixins/)
[![Downloads](https://pypip.in/d/django_test_mixins/badge.png)](https://pypi.python.org/pypi/django_test_mixins/)
[![License](https://pypip.in/license/django_test_mixins/badge.png)](https://pypi.python.org/pypi/django_test_mixins/)

## Usage

All classes inherit from
[django.test.TestCase](https://docs.djangoproject.com/en/dev/topics/testing/overview/#django.test.TestCase)
so you can access the Django assertions and the HTTP client as usual.

django-test-mixins is
[available on PyPI](https://pypi.python.org/pypi/django_test_mixins). Installation
is simply a matter of:

    $ pip install django_test_mixins<commit_msg>SVG buttons.<commit_after><!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc/generate-toc again -->
**Table of Contents**

- [django-test-mixins](#django-test-mixins)
    - [Usage](#usage)
        - [HttpCodeTestCase](#httpcodetestcase)
        - [EmptyCacheTestCase](#emptycachetestcase)
        - [FormValidationTestCase](#formvalidationtestcase)
        - [RedirectTestCase](#redirecttestcase)
        - [Combining test cases](#combining-test-cases)
    - [Changelog](#changelog)
        - [v1.8](#v18)
        - [v1.7.1](#v171)
        - [v1.7](#v17)
        - [v1.6](#v16)
        - [v1.5](#v15)
        - [v1.4](#v14)
        - [v1.3](#v13)
        - [v1.2](#v12)
        - [v1.1](#v11)
        - [v1.0](#v10)
    - [Uploading to PyPI](#uploading-to-pypi)

<!-- markdown-toc end -->

# django-test-mixins

Additional assertions and test conveniences for testing django
sites. MIT license.

[![Build Status](https://travis-ci.org/Wilfred/django-test-mixins.svg)](https://travis-ci.org/Wilfred/django-test-mixins)
[![Coverage Status](https://coveralls.io/repos/Wilfred/django-test-mixins/badge.png)](https://coveralls.io/r/Wilfred/django-test-mixins)
[![Latest Version](https://pypip.in/v/django_test_mixins/badge.svg)](https://pypi.python.org/pypi/django_test_mixins/)
[![Downloads](https://pypip.in/d/django_test_mixins/badge.svg)](https://pypi.python.org/pypi/django_test_mixins/)
[![License](https://pypip.in/license/django_test_mixins/badge.svg)](https://pypi.python.org/pypi/django_test_mixins/)

## Usage

All classes inherit from
[django.test.TestCase](https://docs.djangoproject.com/en/dev/topics/testing/overview/#django.test.TestCase)
so you can access the Django assertions and the HTTP client as usual.

django-test-mixins is
[available on PyPI](https://pypi.python.org/pypi/django_test_mixins). Installation
is simply a matter of:

    $ pip install django_test_mixins
{'fraction_non_alphanumeric': 0.1779816513761468, 'fraction_numerical': 0.022018348623853212, 'mean_word_length': 3.515976331360947, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 24, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '437705', 'n_tokens_mistral': 1485, 'n_tokens_neox': 1356, 'n_words': 184}