skip to navigation
skip to content

django-testcase 0.1

A TestCaseMixin utility.


.. image::

django-testcase provides a TestCase mixin to provide new useful functions for Django tests.

Supports Django 1.10 and later, only with Python 3.4 and later.



$ pip install django-testcase

Basic usage

Simply subclass it in a ``TestCase``::

from django.test import TestCase
from django_testcase import TestCaseMixin

class LoginViewTestCase(TestCaseMixin, TestCase):
def test_login(self):

Available methods


Asserting code quality


$ python quality

Packaging for PyPI distribution


$ python package

The build will happen if the repository passes the quality tests and is clean: no untracked files are found. If not, you can see what's wrong with ``git clean -dfx --dry-run`` and remove or track and commit those files.

Builds will be available at ``dist``, in wheel and source.


Pull requests are welcome.

File Type Py Version Uploaded on Size
django-testcase-0.1.tar.gz (md5) Source 2017-08-11 3KB
django_testcase-0.1-py3-none-any.whl (md5) Python Wheel py3 2017-08-11 4KB