https://github.com/mithro/django-testing-fixes
https://github.com/mithro/django-testing-fixes
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mithro/django-testing-fixes
- Owner: mithro
- Created: 2012-02-28T06:00:42.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-02-29T11:01:40.000Z (over 14 years ago)
- Last Synced: 2025-03-18T05:54:50.907Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 130 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
====================
Django Testing Fixes
====================
A set of fixes for various broken things about django testing.
fix_exceptions.py - Uncaught exceptions when testing cause the django
debug page.
fix_finish_response.py - Fixes problems where testing client closes it's socket
early.
fix_fixtures.py - Causes an error to occur when a fixture is not found
during a unit test.
testing_context.py - Provides a TESTING=True value in templates.
suite.py
TestSuiteRunner()
A better test suite runner which provides better ability to filter tests.
You can specify the exact test/module/etc.
create_suite(location, modulename)
Find all tests under a given directory (location) which contains
modulename.
Tests should end with _test.py