$npx skillfedfor your agent

django-webtest

Instant integration of Ian Bicking's WebTest (http://docs.pylonsproject.org/projects/webtest/) with Django's testing framework.

With conditionsPyPI Python ModulesReleased Oct 2025263.3K downloads / moMIT licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_webtest-1.9.14-py3-none-any.whl
v1.9.14 · released 2025-10-06 · 1 runtime deps: webtest

Yes, if you need functional or integration testing for Django applications. The package is stable, permissively licensed, and has low install friction. The aging maintenance status (312 days since release) is a minor concern but not a blocker given the package's Production/Stable classification and active repository. Install it when Django's native test client is insufficient for your testing needs.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with a single runtime dependency (webtest).
  • Maintenance status is aging—last release was 312 days ago—but the repository remains active and the package is marked Production/Stable with support for Django 4.2, 5.0, 5.1, and 5.2.

License · maintenance · safety

MIT license (permissive) — MIT license (permissive) imposes no restrictions on use, modification, or distribution in commercial or private projects.

last release 2025-10-06 (312 days) · last repo commit 2025-10-06 · 337 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 263,336 downloads/mo, #8,358 on PyPI

Verify before relying

pip install django-webtest

from django_webtest import WebTest

class MyTestCase(WebTest):
    def test_page(self):
        response = self.app.get('/', user='username')
        assert 'Expected text' in response
  • Whether the aging maintenance status (312 days since last release) affects compatibility with the latest Django patch versions
  • Performance characteristics when testing large or complex Django applications
Same gist for agents: .md · .json

What it is and what it does

django-webtest wraps Ian Bicking's WebTest library to provide a Django TestCase subclass that creates a test application around Django's WSGI interface. It bridges the gap between Django's native test client—which is designed primarily to inspect rendered templates and context—and functional/integration testing frameworks like WebTest, which simulate real HTTP interactions.

The package exposes WebTest's API through a `self.app` object in test cases, with added conveniences: a `user` argument for authenticated requests, automatic CSRF token handling in form submissions, access to `response.templates` and `response.context`, and support for Django's native test assertions. It also integrates with django-rest-framework's authentication system and provides pytest fixtures when pytest-django is installed.

Use it for

  • Write functional tests that follow links, submit forms, and verify HTML responses without mocking the request layer
  • Test form submission workflows with automatic CSRF token handling and field population
  • Verify template rendering and context data in integration tests that exercise the full request/response cycle
  • Test authenticated user flows by passing a user object or username to requests
  • Test django-rest-framework endpoints with automatic authentication integration

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need functional or integration testing for Django applications.

The package is stable, permissively licensed, and has low install friction. The aging maintenance status (312 days since release) is a minor concern but not a blocker given the package's Production/Stable classification and active repository. Install it when Django's native test client is insufficient for your testing needs.

Install

django-webtest on PyPI

Before you install

Low friction install with a single runtime dependency (webtest). Maintenance status is aging—last release was 312 days ago—but the repository remains active and the package is marked Production/Stable with support for Django 4.2, 5.0, 5.1, and 5.2.

License in practice

MIT license (permissive) imposes no restrictions on use, modification, or distribution in commercial or private projects.

Quickstart

pip install django-webtest

from django_webtest import WebTest

class MyTestCase(WebTest):
    def test_page(self):
        response = self.app.get('/', user='username')
        assert 'Expected text' in response

Verify before relying

  • Whether the aging maintenance status (312 days since last release) affects compatibility with the latest Django patch versions
  • Performance characteristics when testing large or complex Django applications

Package facts

LicenseMIT license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
webtest
MaintenanceAging 312 days since the last release
Last repo commit
First released
Downloads263,336 / month, #8,358 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.1Framework :: Django :: 5.2Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Testing

Evidence: django_webtest-1.9.14-py3-none-any.whl

Tags

Capabilities
django functional testingwebtest django integrationdjango wsgi test clientdjango form testingdjango integration testing
Topics
django-testingwsgi-testingfunctional-testing
PyPI keywords
djangowebtestpytest

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “django functional testing”

  • django-webtestIntegrates WebTest with Django's testing framework to enable…
  • model-mommyModel Mommy generates Django model instances with random data for…
  • zope.testbrowserzope.testbrowser provides a programmable web browser for automated…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also pytest-django · zope.testbrowser · Flask-WTF · django-jinja · cross-web · djangorestframework · djangorestframework-simplejwt · pytest-selenium · django-nose