- Fix bug with APITest case
- Fix bug where email addresses were not created by make_user()
- Fix issue with User creation helper when User model doesn't have a username field
- Improve assertNumQueriesLessThan
- Add assertInContext
- Add Django 4.2 support
- Add support for Django 3.2.
- Add official support for Python 3.9.
- Make assertLoginRequired work for pytest tp fixture.
- Drops Python 2.7, 3.4, and pypy and Django 1.11 support.
- Add Django 3.1 support.
- Added Django 3.0 support
- Misc dependency updates
- Made
make_user
andget_instance
class based methods, so they can be used insetupUpTestData
. Thanks @avelis for the report.
- Add
tp_api
pytest fixture.
- Add optional
msg
argument to assertEqual method. Thanks @davitovmasyan.
- Fix premature loading of Django settings under pytest
- Added real pytest fixture support!
- Stopped testing support below Django 1.11.x. django-test-plus should probably continue to work for a long time, but Django 1.11 is the only pre-2.x version that is still supported so all we are going to worry about.
- Moved README and docs to Markdown
- Fix bug where we did not pass data dictionary to RequestFactory.get() properly
- Add response_204 method
- The Halloween Release!
- Fixes to CI to ensure we really test Django 2.0
- Django 2.0 support
- Dropped support for Python 3.3
- Dropped support for Django < 1.8
- Added APITestCase for better DRF testing
- Allow custom Request objects in get() and post()
- Begin testing against Python 3.6 and Django 1.11
- Added assertResponseHeaders
- Added print_form_errors utility
- Added helper methods for more HTTP methods like put, patch, and trace
- Added assertResponseContains and assertResponseNotContains
- Fixed documentation typo
- Added response_400() test
- Added Guinslym and David Arcos to AUTHORS.txt
- Added response_401() test
- Fixed situation where User models without a 'username' field could not be used as easily. Now credential field is automatically determined.
- Fixed assertLoginRequired when settings.LOGIN_URL is a named URL pattern
- Removed support for Django 1.4.x as it is well beyond it's end of life and causes a headache for supporting newer releases
- Fixed incorrect documentation
- Added response_405 and response_410 test methods
- Fixed bad README typos and merge artifacts
- Added response_405() test
- requirements.txt typo
- README typo
- Fix more bad argument handling in CBVTest methods
- Fix alias issue with PyCharm
- Bug fix with argument order
- get/post test methods now accept the
follow
boolean.
- Allow overriding password to be not just 'password'
- Added CBVTestCase to be able to test generic CBVs without hitting routing or middleware
- Allow 'from test_plus import TestCase'
- Make response_XXX() be able to use last_response
- Add extra lazy option of passing full URL to get() and post()
- Pass along QUERY_STRING information via data kwargs on gets()
- README formatting fixes
- Added get_context() method
- Added assertContext() method
- Added extras kwargs to be able to pass to url resolution
- Added response_403
- README typo
- Actually fixing README by moving README.md to README.rst
- Added docs for assertNuMQueriesLessThan()
- Fixing README markdown on PyPI issue
- Initial release