Metadata-Version: 2.1
Name: djet
Version: 0.3.0
Summary: Set of helpers for easy testing of Django apps.
Home-page: https://github.com/sunscrapers/djet
Author: SUNSCRAPERS
Author-email: info@sunscrapers.com
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Testing
License-File: LICENSE

====
djet
====

.. image:: https://img.shields.io/pypi/v/djet.svg
  :target: https://pypi.org/project/djet

.. image:: https://img.shields.io/travis/sunscrapers/djet.svg
  :target: https://travis-ci.org/sunscrapers/djet

.. image:: https://img.shields.io/codecov/c/github/sunscrapers/djet.svg
  :target: https://codecov.io/gh/sunscrapers/djet

**Django Extended Tests** is a set of helpers for easy testing of Django apps.

Main features:

* easy unit testing of Django views (``ViewTestCase``)
* useful assertions provides as mixin classes:

  * response status codes (``StatusCodeAssertionsMixin``)
  * emails (``EmailAssertionsMixin``)
  * messages (``MessagesAssertionsMixin``)
  * model instances (``InstanceAssertionsMixin``)

* handy helpers for testing file-related code (``InMemoryStorageMixin`` and others)
* smooth integration with Django REST Framework authentication mechanism (``APIViewTestCase``)

Full documentation available on `read the docs <https://djet.readthedocs.io/en/latest/>`_.

Developed by `SUNSCRAPERS <http://sunscrapers.com>`_ with passion & patience.

Requirements
============

* **Python**: 2.7 (Only Django 1.11), 3.4+
* **Django**: 1.11, 2.0+
* (optional) **Django REST Framework**: 3.7+

Installation
============

Simply install using ``pip``:

.. code-block:: bash

    $ pip install djet

Documentation
=============

Full documentation is available to study at
`read the docs <https://djet.readthedocs.io/en/latest/>`_
and in ``docs`` directory.
