Stephen Burrows
|
218abcc9e5
|
Fixed #14567 -- Made ModelMultipleChoiceField return EmptyQuerySet as empty value
|
2012-10-03 20:47:35 +03:00 |
|
Claude Paroz
|
6602103338
|
[py3] Various minor syntax fixes in the test suite
|
2012-08-11 23:23:31 +02:00 |
|
Aymeric Augustin
|
bdca5ea345
|
[py3] Replaced unicode/str by six.text_type/bytes.
|
2012-07-22 09:29:54 +02:00 |
|
Claude Paroz
|
4a103086d5
|
Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.
Thanks Vinay Sajip for the support of his django3 branch and
Jannis Leidel for the review.
|
2012-06-07 18:08:47 +02:00 |
|
Claude Paroz
|
38408f8007
|
Marked bytestrings with b prefix. Refs #18269
This is a preparation for unicode literals general usage in
Django (Python 3 compatibility).
|
2012-05-19 17:43:34 +02:00 |
|
Claude Paroz
|
9383a2761c
|
Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2012-03-30 08:02:08 +00:00 |
|
Carl Meyer
|
844a24bbb9
|
Fixed #16921 -- Added assertHTMLEqual and assertHTMLNotEqual assertions, and converted Django tests to use them where appropriate. Thanks Greg Müllegger.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2012-01-31 20:36:11 +00:00 |
|
Alex Gaynor
|
69e1e6187a
|
Switch several assertNumQueries to use the context manager, which is much more beautiful.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16986 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-10-14 17:03:08 +00:00 |
|
Alex Gaynor
|
d362c1546f
|
Convert much of the regression tests to use absolute imports. There's still work to be done though.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-10-13 18:51:33 +00:00 |
|
Jannis Leidel
|
1d485cf14f
|
Fixed #10405 -- Raise a more useful error if the formfield of a related model field can't be created yet because the related model isn't loaded yet. Thanks ojii and charstring.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-08-12 14:15:08 +00:00 |
|
Jannis Leidel
|
24f4764a48
|
Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-07-13 09:35:51 +00:00 |
|
Russell Keith-Magee
|
afd040d4d3
|
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
assert_ -> assertTrue
assertEquals -> assertEqual
failUnless -> assertTrue
For full details, see http://www.voidspace.org.uk/python/articles/unittest2.shtml#deprecations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-03-03 15:04:39 +00:00 |
|
Russell Keith-Magee
|
8bafde1229
|
Migrated forms (minus localflavor) doctests. A huge thanks to Daniel Lindsley for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2010-11-16 13:20:56 +00:00 |
|