Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/model_regress/test_pickle.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed model_regress test failure on non-ASCII path; refs ↵Tim Graham2015-04-301-2/+2
| | | | #24717.
* Fixed #24717 -- Fixed model_regress test failure on ↵David D. Riddle2015-04-291-16/+14
| | | | | | | | | | | | | RHEL6 SCL The test failed on RHEL6 systems running python 2.7 from a RedHat Software Collection (SCL) because this test runs an external python script with a stripped system environment. RedHat SCLs work by setting a number of system environment variables when these are stripped out by this test the python 2.7 interpreter is no longer able to function properly because it can not find the system libraries needed. Now we use use mock to modify the system environment directly.
* Fixed mistakes in tests unveiled by version bump to 1.8.1.Tim Graham2015-04-021-6/+7
| | | | Forwardport of e7366ab1f908b8cbf8d7e83037b5f17d101b5ade from stable/1.8.x
* Normalized usage of the tempfile module.Aymeric Augustin2015-02-231-2/+4
| | | | Specifically stopped using the dir argument.
* Fixed "environment can only contain strings" in ↵Tim Graham2015-02-171-1/+1
| | | | model_regress test on Windows.
* Refs #24324 -- Fixed UnicodeDecodeError in model_regress ↵Tim Graham2015-02-171-0/+1
| | | | test on non-ASCII path.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-1/+1
|
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-031-1/+1
|
* Fixed #24160 -- Fixed model_regress test on Windows; ↵Collin Anderson2015-01-161-9/+9
| | | | refs #24007.
* Fixed refs #24007 test on Windows.Tim Graham2014-12-191-3/+9
|
* Made model_regress unpickling test CWD-independentClaude Paroz2014-12-191-1/+4
| | | | Refs #24007. Thanks Tim Graham for his help with the patch.
* Allowed Python executable names other than python in ↵Collin Anderson2014-12-181-1/+2
| | | | test from refs #24007.
* Fixed #24007 -- Ensure apps registry's ready before ↵Claude Paroz2014-12-171-0/+35
| | | | | | | unpickling models This prevents AppRegistryNotReady errors when unpickling Django models from an external script.
* Fixed #21430 -- Added a RuntimeWarning when unpickling ↵Anubhav Joshi2014-06-111-0/+53
Models and QuerySets from a different Django version. Thanks FunkyBob for the suggestion, prasoon2211 for the initial patch, and akaariai, loic, and charettes for helping in shaping the patch.