Skip to main content
https://img.shields.io/pypi/v/djet.svg https://img.shields.io/travis/sunscrapers/djet.svg https://img.shields.io/codecov/c/github/sunscrapers/djet.svg

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.

Developed by SUNSCRAPERS 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:

$ pip install djet

Documentation

Full documentation is available to study at read the docs and in docs directory.

Metadata

Release files for djet 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djet 0.3.0
File Size Uploaded
djet-0.3.0.tar.gz 34.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for djet 0.3.0
File Interpreter ABI Platform
djet-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 42.3 kB

Release files / djet-0.3.0.tar.gz

Download URL djet-0.3.0.tar.gz
Size 34.4 kB
Tags Source
SHA-256 checksum
How to use checksums
44e59b880fccd36a34d9eae1ac150129ad3bf339f953e32a47e1cda3dc412819
BLAKE2b-256 checksum
How to use checksums
f8d27f95f1bc2c4f5007773c986a64adf7f5bf548b2adcec2a5c58b9fb604c38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / djet-0.3.0-py3-none-any.whl

Download URL djet-0.3.0-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94506c7f62f00d706a1c990acea1c3e35e26e6c0bf3d374675f8fd3d7daeaedf
BLAKE2b-256 checksum
How to use checksums
a49945b40707de13e14f3798070912a1b2eb6891e0c9f3b445804adc8f3f25e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.2

2 release files

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page