summaryrefslogtreecommitdiff
path: root/tests/serializers
AgeCommit message (Collapse)Author
2014-06-11[1.7.x] Fixed #22653 -- Added some database feature flags to tests.Tim Graham
Thanks Rahul Priyadarshi. Backport of 99f5ea9cc8 from master
2013-12-23Imported override_settings from its new location.Aymeric Augustin
2013-12-06Added missing deconstruct() methods.Baptiste Mispelon
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-26Fixed all the E203 violationsAlex Gaynor
2013-10-26Fix all violators of E231Alex Gaynor
2013-10-21Removed some direct settings manipulations in tests; refs #21230.Bouke Haarsma
2013-10-19Removed unused local variables in tests.Tim Graham
2013-10-17Fixed #21285 -- Fixed E121,E122 pep8 warningsAlasdair Nicol
2013-09-09Fixed #19885 -- cleaned up the django.test namespaceKevin Christopher Henry
* 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.
2013-09-06Fixed deprecation warning on Python 3Tim Graham
2013-09-06Cleanup commit after peer review.Roberto Aguilar
2013-09-06Updated NoYamlSerializerTestCase to run with yaml.Roberto Aguilar
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.
2013-09-06Added tests for missing pyyaml.Roberto Aguilar
This test makes sure an YAML import errors are communicated to the caller rather than stating the serializer does not exist.
2013-09-03Fixed "indentation is not a multiple of four" pep8 issues.Tim Graham
2013-09-01Change test added in 3e34005b1b to be more stable.Ramiro Morales
It could fail when actual serialization JSON field ordering was different from the hard-coded one. Refs #13182.
2013-08-31Properly skipped yaml tests when not installedClaude Paroz
2013-08-31Fixed #13182 -- Prevented trailing spaces in indented json outputClaude Paroz
Thanks Stéphane Raimbault for the report and the initial patch.
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-06-10Defined available_apps in relevant tests.Aymeric Augustin
Fixed #20483.
2013-03-11Made transaction.managed a no-op and deprecated it.Aymeric Augustin
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.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner