Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/serializers/tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25550 -- Deprecated direct assignment to the ↵Tim Graham2015-10-271-2/+2
| | | | reverse side of a related set.
* Moved more serializers_regress to serializers testsClaude Paroz2015-09-261-2/+73
|
* Separated natural key serialization testsClaude Paroz2015-09-261-0/+16
|
* Separated JSON serialization testsClaude Paroz2015-09-261-260/+1
|
* Separated XML serialization testsClaude Paroz2015-09-261-98/+0
|
* Separated YAML serialization testsClaude Paroz2015-09-261-165/+1
|
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-1/+1
|
* Fixed #22258 -- Added progress status for dumpdata when ↵Claude Paroz2015-07-241-0/+11
| | | | | | outputting to file Thanks Gwildor Sok for the report and Tim Graham for the review.
* Refs #25050 -- Corrected test assertion in serializers test.Tim Graham2015-07-031-1/+3
|
* Fixed #25050 -- Allowed serialization of models with ↵Grégoire ROCHER2015-07-021-0/+7
| | | | deferred fields.
* Fixed #20197 -- Made XML serializer fail loudly when ↵Claude Paroz2015-06-191-0/+15
| | | | | | outputting unserializable chars Thanks Tim Graham for the review.
* Fix for ticket 12685mick2015-06-101-1/+9
|
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-3/+4
|
* Fixed #19820 -- Added more helpful error messages to ↵Richard Eames2015-04-091-1/+165
| | | | Python deserializer.
* Fixed #24558 -- Made dumpdata mapping ordering ↵Simon Charette2015-04-021-0/+45
| | | | | | deterministic. Thanks to gfairchild for the report and Claude for the review.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-11/+15
|
* Fixed #22653 -- Added some database feature flags to tests.Tim Graham2014-06-111-1/+2
| | | | Thanks Rahul Priyadarshi.
* Removed legacy transaction management per the ↵Aymeric Augustin2014-03-211-10/+7
| | | | deprecation timeline.
* Imported override_settings from its new location.Aymeric Augustin2013-12-231-2/+2
|
* Fixing E302 ErrorsJason Myers2013-11-031-4/+8
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed #21302 -- Fixed unused imports and import *.Tim Graham2013-11-021-1/+0
|
* Fixed all the E203 violationsAlex Gaynor2013-10-271-1/+1
|
* Fix all violators of E231Alex Gaynor2013-10-261-2/+2
|
* Removed some direct settings manipulations in tests; ↵Bouke Haarsma2013-10-211-11/+7
| | | | refs #21230.
* Removed unused local variables in tests.Tim Graham2013-10-191-1/+1
|
* Fixed #21285 -- Fixed E121,E122 pep8 warningsAlasdair Nicol2013-10-181-3/+3
|
* Fixed #19885 -- cleaned up the django.test namespaceKevin Christopher Henry2013-09-091-1/+2
| | | | | | | | * override_settings may now be imported from django.test * removed Approximate from django.test * updated documentation for things importable from django.test Thanks akaariai for the suggestion.
* Fixed deprecation warning on Python 3Tim Graham2013-09-071-2/+2
|
* Cleanup commit after peer review.Roberto Aguilar2013-09-071-4/+5
|
* Updated NoYamlSerializerTestCase to run with yaml.Roberto Aguilar2013-09-071-2/+45
| | | | | | In order to verify the behavior of using the yaml serializer when yaml is on the system, fake the ImportError when the serializer is being registered.
* Added tests for missing pyyaml.Roberto Aguilar2013-09-061-1/+21
| | | | | This test makes sure an YAML import errors are communicated to the caller rather than stating the serializer does not exist.
* Change test added in 3e34005b1b to be more stable.Ramiro Morales2013-09-011-17/+5
| | | | | It could fail when actual serialization JSON field ordering was different from the hard-coded one. Refs #13182.
* Properly skipped yaml tests when not installedClaude Paroz2013-08-311-45/+50
|
* Fixed #13182 -- Prevented trailing spaces in indented ↵Claude Paroz2013-08-311-0/+25
| | | | | | json output Thanks Stéphane Raimbault for the report and the initial patch.
* Removed most of absolute_import importsClaude Paroz2013-07-291-2/+2
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Stopped using django.utils.unittest in the test suite.Aymeric Augustin2013-07-011-1/+1
| | | | Refs #20680.
* Defined available_apps in relevant tests.Aymeric Augustin2013-06-101-0/+3
| | | | Fixed #20483.
* Made transaction.managed a no-op and deprecated it.Aymeric Augustin2013-03-111-1/+0
| | | | | | | | | | | | | | enter_transaction_management() was nearly always followed by managed(). In three places it wasn't, but they will all be refactored eventually. The "forced" keyword argument avoids introducing behavior changes until then. This is mostly backwards-compatible, except, of course, for managed itself. There's a minor difference in _enter_transaction_management: the top self.transaction_state now contains the new 'managed' state rather than the previous one. Django doesn't access self.transaction_state in _enter_transaction_management.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-261-0/+501