Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/user_commands
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #16734 -- Set script prefix even outside of requestsClaude Paroz2015-10-293-0/+34
| | | | Thanks Tim Graham for the review.
* Fixed #25483 -- Allowed passing non-string arguments to ↵Claude Paroz2015-10-032-0/+11
| | | | | | call_command Thanks KS Chan for the report and Tim Graham for the review.
* Refs #19973 -- Removed optparse support in management ↵Tim Graham2015-09-242-39/+2
| | | | commands per deprecation timeline.
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-1/+3
|
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-2/+2
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Fixed #24769 -- Cast optparse verbosity argument to an ↵Rivo Laks2015-06-101-0/+1
| | | | | | | | | | integer for better backwards compatibility. Using `BaseCommand.options_list` makes Django use the legacy optparse parser, which does not set the verbosity attribute correctly. Now the verbosity argument is always cast to int. Regression in 8568638 (#19973). Initial report and patch from blueyed.
* Prevented some test commands from needlessly running ↵Tim Graham2015-02-111-1/+9
| | | | | | | | | system checks. This is a performance optimization and also fixes test errors with the upcoming merge of contrib tests into tests/. The tests failed on MySQL because the models with GeometryField were being checked but the non-GIS MySQL backend didn't know how to handle them.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-2/+2
|
* Fixed #24073 -- Returned None for get_language when ↵Claude Paroz2015-01-081-5/+3
| | | | | | | translations are deactivated This fixes a regression caused by f7c287fca9. Thanks Markus Holtermann for identifying the regression.
* Fixed #24073 -- Deactivated translations when ↵Claude Paroz2015-01-071-1/+3
| | | | | | leave_locale_alone is False Thanks Tim Graham and Markus Holtermann for the reviews.
* Fixed #8280 -- Allowed management command discovery for eggsClaude Paroz2015-01-052-2/+15
| | | | | Thanks jdetaeye for the report, bhuztez and jdetaeye for the initial patches, Tim Graham and Berker Peksag for the reviews.
* Applied ignore_warnings to Django testsClaude Paroz2014-12-301-5/+3
|
* Fixed #23930 -- Added copies of captured_std* managers ↵wrwrwr2014-11-291-16/+6
| | | | | | from CPython's test.support. StringIO import was adapted for compatibility with Python 2.
* Fixed #23685 -- Made call_command skip checks by defaultClaude Paroz2014-10-202-3/+24
| | | | | Thanks Loic Bistuer for the report/review and Tim Graham for the review.
* Removed numbering from the models.py header of some test ↵Loic Bistuer2014-09-241-1/+1
| | | | | | packages. This is a reliqua from the early days of the modeltests/regressiontests era.
* Fixed broken tests on Oracle after ↵Baptiste Mispelon2014-08-191-1/+4
| | | | | | | | | 5853c87a458f62ebd62d7809168355610de2570c. Oracle doesn't have a `BEGIN` statement so the test would fail. Refs #23303
* Removed test, duplicate of admin_scripts.CommandTypes testsClaude Paroz2014-08-181-6/+0
|
* Fixed #23303 -- Added BEGIN and COMMIT statements to the ↵Baptiste Mispelon2014-08-182-0/+15
| | | | output of sqlmigrate.
* Fixed #23309 -- Fixed call_command to parse args correctlyRaffaele Salmaso2014-08-182-0/+54
|
* Fixed #22985 -- Made call_command accept option name ↵Claude Paroz2014-08-122-4/+18
| | | | | | parameter Thanks giulettamasina for the report and Tim Graham for the review.
* Silenced OptionParser deprecation warning in a test.Tim Graham2014-07-241-1/+5
|
* Fixed several flake8 errorsAlex Gaynor2014-06-141-2/+2
|
* Converted remaining management commands to argparseClaude Paroz2014-06-141-6/+3
|
* Fixed #19973 -- Replaced optparse by argparse in ↵Claude Paroz2014-06-142-0/+37
| | | | | | management commands Thanks Tim Graham for the review.
* Fixed #22256 -- Replaced bad fallback for missing PATHPatrick Michaud2014-03-221-1/+15
| | | | Thanks Baptiste Mispelon for the review.
* flake8 fixes (unused imports and variables).Tim Graham2014-02-181-1/+0
|
* Removed BaseCommand.stdin introduced in ↵Baptiste Mispelon2014-02-181-26/+0
| | | | | | | | | | | | 116d39842dab2569013856e9f3701a7cb6554f09. This option is not actually very useful in the general case because it doesn't override sys.stdin. It's still marginally useful for testing some features of the createsuperuser command so it was moved there. This commit also makes the detection of a TTY in createsuperuser a bit more robust, after a suggestion of appolo13.
* Added the possibility to pass a stdin object to a ↵Baptiste Mispelon2014-02-171-0/+27
| | | | | | | | management command. This makes testing certain features easier. Thanks to AeroNotix for the original patch.
* Fixed #16905 -- Added extensible checks (nee validation) ↵Russell Keith-Magee2014-01-201-1/+1
| | | | | | | | | | | framework This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844.
* Fixing E302 ErrorsJason Myers2013-11-032-0/+2
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Made (make|compile)messages check for availability of ↵Ramiro Morales2013-03-101-3/+10
| | | | | | gettext commands. Refs #19584.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-268-0/+114