BSD Ports

www/py-test-django 4.14.0 NetBSD

Django plugin for pytest

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
7f28340c28
License
modified-bsd
Categories
www, python
Package size
48.3 KiB, 252.1 KiB installed

Description

pytest-django allows you to test your Django project/applications with the pytest testing tool.

Running your test suite with pytest-django allows you to tap into the features that are already present in pytest. Here are some advantages: * Manage test dependencies with pytest fixtures. * Less boilerplate tests: no need to import unittest, create a subclass with methods. Write tests as regular functions. * Database re-use: no need to re-create the test database for every test run. * Run tests in multiple processes for increased speed (with the pytest-xdist plugin). * Make use of other pytest plugins. * Works with both worlds: Existing unittest-style TestCase's still work without any modifications.

Install

Binary package:

pkgin install py311-test-django

From pkgsrc:

cd /usr/pkgsrc/www/py-test-django && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_644.14.0
NetBSD 10.1 aarch644.12.0
SmartOS / illumos x86_644.14.0
macOS 15 arm644.14.0

Dependencies

Run dependencies 2
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-test-django-4.14.0, py313-test-django-4.14.0, py314-test-django-4.14.0

Commit history 1

DateCommitCreditsLog message
7f28340c28 adam py-test-django: updated to 4.14.0
4.14.0 (2026-08-10) Compatibility * Restored (unofficial) support for Django 5.0 and Django 5.1. Improvements * Added a ``django`` extra to the package. By depending on this extra (e.g. ``pip install pytest-django[django]``), the dependency resolver will ensure you get a version of pytest-django that is compatible with your version of Django (lower bound only). At least from now on...