Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/user_commands/tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #16734 -- Set script prefix even outside of requestsClaude Paroz2015-10-291-0/+19
| | | | Thanks Tim Graham for the review.
* Fixed #25483 -- Allowed passing non-string arguments to ↵Claude Paroz2015-10-031-0/+8
| | | | | | call_command Thanks KS Chan for the report and Tim Graham for the review.
* Refs #19973 -- Removed optparse support in management ↵Tim Graham2015-09-241-17/+2
| | | | commands per deprecation timeline.
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-2/+2
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* 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-051-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-201-1/+21
| | | | | Thanks Loic Bistuer for the report/review and Tim Graham for the review.
* 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-181-0/+5
| | | | output of sqlmigrate.
* Fixed #23309 -- Fixed call_command to parse args correctlyRaffaele Salmaso2014-08-181-0/+26
|
* Fixed #22985 -- Made call_command accept option name ↵Claude Paroz2014-08-121-4/+16
| | | | | | 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 #19973 -- Replaced optparse by argparse in ↵Claude Paroz2014-06-141-0/+18
| | | | | | 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.
* 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-261-0/+60