summaryrefslogtreecommitdiff
path: root/tests/serializers_regress/tests.py
AgeCommit message (Collapse)Author
2015-09-26Moved remaining of serializers_regress to serializers testsClaude Paroz
2015-09-26Moved more serializers_regress to serializers testsClaude Paroz
2015-09-26Separated natural key serialization testsClaude Paroz
2015-09-26Separated JSON serialization testsClaude Paroz
2015-09-26Separated XML serialization testsClaude Paroz
2015-09-26Separated YAML serialization testsClaude Paroz
2015-08-31Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-02-13Fixed #24320 - Used field.value_to_string() in serialization of foreign key.Andriy Sokolovskiy
This fixes serialization of a ForeignKey to a UUIDField as the test indicates.
2015-02-12Added a test for UUIDField serialization; refs #24320.Tim Graham
2015-02-06Fixed E265 comment styleCollin Anderson
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-19Removed IPAddressField per deprecation timeline; refs #20439.Tim Graham
2015-01-17Removed dumpdata --natural option and serializers use_natural_keys parameter.Tim Graham
Per deprecation timeline; refs #13252.
2015-01-11Removed supports_binary_field flag as all backends support themClaude Paroz
It was mainly for MySQL on Python 3, but now the current recommended MySQL driver for Python 3 (mysqlclient) does support binary fields, it is unneeded. Refs #20377.
2014-12-30Applied ignore_warnings to Django testsClaude Paroz
2014-11-15Added a new GeoJSON serialization format for GeoDjangoClaude Paroz
Thanks Reinout van Rees for the review.
2014-11-03Fixed typos using https://github.com/vlajos/misspell_fixerVeres Lajos
2014-06-11Fixed #22653 -- Added some database feature flags to tests.Tim Graham
Thanks Rahul Priyadarshi.
2014-05-10Adjusted refactoring of vendor checks.Aymeric Augustin
Thanks Shai for the thorough review.
2014-05-08Replaced vendor checks by three feature flags.Aymeric Augustin
2014-03-27Skipped a test that errors rather than marked it as an expectedFailure.Tim Graham
The test throws an error which Python 3.4 doesn't seem to catch as an expectedFailure. refs 7476d96f83a004d674244aeb7a66289035427396
2014-02-06Fixed #17713 -- Renamed BaseDatabaseFeatures.allows_primary_key_0 to ↵Vajrasky Kok
allows_auto_pk_0. MySQL does allow primary key with value 0. It only forbids autoincrement primary key with value 0. Thanks Claude Paroz for the report.
2013-11-02Fixed all E261 warningscoagulant
2013-11-02Fixing E302 ErrorsJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02Fixed #21302 -- Fixed unused imports and import *.Tim Graham
2013-10-26Fix all violators of E231Alex Gaynor
2013-10-21Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol
2013-10-19Removed unused local variables in tests.Tim Graham
2013-10-18Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol
2013-10-17Fixed #21285 -- Fixed E121,E122 pep8 warningsAlasdair Nicol
2013-10-11Fixed #13252 -- Added ability to serialize with natural primary keys.Tai Lee
Added ``--natural-foreign`` and ``--natural-primary`` options and deprecated the ``--natural`` option to the ``dumpdata`` management command. Added ``use_natural_foreign_keys`` and ``use_natural_primary_keys`` arguments and deprecated the ``use_natural_keys`` argument to ``django.core.serializers.Serializer.serialize()``. Thanks SmileyChris for the suggestion.
2013-09-06Cleanup commit after peer review.Roberto Aguilar
2013-09-06Fixed existing tests to handle BadSerializer.Roberto Aguilar
When a BadSerializer instance is stubbed in for the yaml serializer, make sure tests do not fail.
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
Refs #20680.
2013-05-08Marked tests of BinaryFields as expected failures on MySQL and Python 3.Aymeric Augustin
Current ports of MySQLdb are very buggy in this area.
2013-03-02Added support for serializing BinaryFieldClaude Paroz
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner