summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts
AgeCommit message (Collapse)Author
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner
2013-01-25Fixed #19665 -- Ensured proper stderr output for Command.run_from_argvClaude Paroz
Thanks Stefan Koegl for the report and Simon Charette for the review.
2013-01-24Fixed #19125 -- The startproject command should validate the name earlierClaude Paroz
Thanks Łukasz Rekucki for the report and the patch.
2012-12-08Fixed #19357 -- Allow non-ASCII chars in filesystem pathsClaude Paroz
Thanks kujiu for the report and Aymeric Augustin for the review.
2012-12-03Fixed #19397 -- Crash on binary files in project templates.Aymeric Augustin
Thanks gw 2012 at tnode com for the report.
2012-10-29Prevented leftover files and dirs in admin_scripts testsClaude Paroz
2012-10-26Avoid dependence on exact Python exception messagesIan Clelland
2012-10-22Fixed #19164 -- Fixed diffsettings command broken in fix for #18545.Carl Meyer
Thanks Mario César for the report and draft patch.
2012-09-26Fixed #18845 -- Do not swallow AttributeErrors when running commandsClaude Paroz
2012-09-08Fixed #18545 -- Make the 'no DJANGO_SETTINGS_MODULE' error message more ↵Carl Meyer
useful.Thanks Nick Coghlan for the report, and Malcolm Tredinnick for review.
2012-09-07[py3k] Silence many warnings while running the tests.Alex Gaynor
2012-08-29[py3] Fixed test failures introduced in ↵Florian Apolloner
3afb5916b215c79e36408b729c9516bc435f5cb7.
2012-08-28Fixed #18091 -- Non-ASCII templates break `django-admin.py startproject ↵Florian Apolloner
--template=TEMPLATE`. Thanks to Claude Huchet and Tomáš Ehrlich for the patch.
2012-08-13[py3] Fixed admin_scripts testsClaude Paroz
2012-08-12[py3] Refactored __unicode__ to __str__.Aymeric Augustin
* Renamed the __unicode__ methods * Applied the python_2_unicode_compatible decorator * Removed the StrAndUnicode mix-in that is superseded by python_2_unicode_compatible * Kept the __unicode__ methods in classes that specifically test it under Python 2
2012-07-25Fixed #18634 -- Don't escape variables in the context for startproject/startapp.Marc Tamlyn
The & symbols which can come up in the secret key were being escaped to &.
2012-05-22Fixed #18318 -- Changed some tests to be 3rd party DB friendlyAnssi Kääriäinen
Thanks to manfre for report and patch.
2012-05-05Made more extensive usage of context managers with open.Claude Paroz
2012-04-30Replaced print statement by print function (forward compatibility syntax).Claude Paroz
2012-04-08Fixed #18035 -- Removed deprecated AdminMediaHandler, as per official ↵Claude Paroz
deprecation timeline. Thanks Jannis Leidel and Ramiro Morales for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31Fixed #18040 -- Removed so-called project-level locale trees from the list ↵Ramiro Morales
of paths the translation loading process takes in account. Deprecated in Django 1.3. Removed completely for Django 1.5. Thanks Claude for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-30Removed with_statement imports, useless in Python >= 2.6. Refs #17965. ↵Claude Paroz
Thanks jonash for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-21Fixed #17920 -- Actually pass the full path of a newly created project or ↵Jannis Leidel
app in the template context as mentioned in the startproject docs. Many thanks to Preston Holmes for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-02Fixed test cases that generate their own settings file.Paul McMillan
Now they include SECRET_KEY. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-07Fixed #11745 -- Grouped commands by application in the output of `manage.py ↵Aymeric Augustin
help`. Made 'version' consistent with 'help' while I was in the area, and added tests. Thanks Jannis for the feedback and review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-04Fixed #17517 -- Added `--name` option to startproject and startapp ↵Jannis Leidel
management commands to be able to render files without a file extension. Thanks, Florian Apolloner. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-15Fixed #17468 -- Made sure the project/app template management command tests ↵Jannis Leidel
correctly handle an existing directory on Windows. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-08Implemented PEP386-compatible version numbers. Thanks Jannis for the guidance.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-04Fixed #17503 -- A destination directory passed to startproject or startapp ↵Carl Meyer
as optional second argument is now reused as the project/app directory, rather than a new project/app directory created within it. Refs #17042. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-01Made sure startproject can handle template URLs with trailing slashes.Ramiro Morales
Thanks Issac Kelly that reported this via IRC. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17320 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-29Moved validation of project names to an earlier spot so no directory with ↵Ramiro Morales
invalid name is created. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-29Made sure the new project template functionality works when the templateRamiro Morales
path specified has a trailing path separator. Thanks Alex for the report. Fixes #17475. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-27Moved calls to addCleanup before assertions in admin_scripts tests, so that ↵Aymeric Augustin
cleanup occurs even when tests fails. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-27Removed Python 2.3 compatibility code from the admin_scripts tests.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-22Fixed #17042 -- Extended startproject and startapp management commands to ↵Jannis Leidel
better handle custom app and project templates. Many thanks to Preston Holmes for his initial patch and Alex Gaynor, Carl Meyer, Donald Stufft, Jacob Kaplan-Moss and Julien Phalip for code reviewing. * Added ability to pass the project or app directory path as the second argument * Added ``--template`` option for specifying custom project and app templates * Cleaned up admin_scripts tests a little while I was there git-svn-id: http://code.djangoproject.com/svn/django/trunk@17246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-22Fixed #2879 -- Added support for the integration with Selenium and other ↵Julien Phalip
in-browser testing frameworks. Also added the first Selenium tests for `contrib.admin`. Many thanks to everyone for their contributions and feedback: Mikeal Rogers, Dirk Datzert, mir, Simon G., Almad, Russell Keith-Magee, Denis Golomazov, devin, robertrv, andrewbadr, Idan Gazit, voidspace, Tom Christie, hjwp2, Adam Nelson, Jannis Leidel, Anssi Kääriäinen, Preston Holmes, Bruno Renié and Jacob Kaplan-Moss. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-09Fixed copy & paste mistake made in r17183.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-09Fixed #16683 -- Skip the IPv6 runserver tests if the platform doesn't ↵Jannis Leidel
support it. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-17Tweaked admin_scripts tests enhanced in r16964 a bit more so they don't fail ↵Ramiro Morales
with Oracle. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-16Fixed a test that depended on how identifiers are quoted by the database ↵Aymeric Augustin
backend and broke under MySQL. Refs #17055. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-13Convert much of the regression tests to use absolute imports. There's still ↵Alex Gaynor
work to be done though. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-13Fixed #15372 -- Switched to a startproject default layout that allows us to ↵Carl Meyer
avoid sys.path hacks. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-09Fixed #16155 -- Removed Python 2.4 compatibility constructs from code and ↵Ramiro Morales
mentions from docs. Thanks Aymeric Augustin for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-23Workaround particularities of Python under Windows that interfere with ↵Ramiro Morales
expected outputs in `admin_scripts` regression tests. Thye were causing most of them to fail in such platform. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-13Fixed #15064 -- Made manage.py honor the existence and value of ↵Ramiro Morales
DJANGO_SETTINGS_MODULE env var. Thanks olau for the report and Shawn Milochik for a patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-20Fixed #15866, #15850 -- Prevented get_model() and get_models() from ↵Carl Meyer
returning not-installed models (by default). Thanks adsva for report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02Updates to the test suite to allow for newly deprecated and removed featuresRussell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-26Fixed #9158 -- Changed django-admin.py help to be printed to stdout instead ↵Adrian Holovaty
of stderr, so that it's more easily greppable. Thanks, petr.marhoun@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@15921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03Updated test assertions that have been deprecated by the move to unittest2. ↵Russell Keith-Magee
In summary, this means: assert_ -> assertTrue assertEquals -> assertEqual failUnless -> assertTrue For full details, see http://www.voidspace.org.uk/python/articles/unittest2.shtml#deprecations git-svn-id: http://code.djangoproject.com/svn/django/trunk@15728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21Fixed #15359 -- Ensure that the -h option is always honored by ↵Russell Keith-Magee
django-admin.py. Thanks to teubank for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15605 bcc190cf-cafb-0310-a4f2-bffc1f526a37