summaryrefslogtreecommitdiff
path: root/tests/admin_scripts
AgeCommit message (Collapse)Author
2020-05-14Fixed #31575 -- Added system check for admin sidebar request context ↵Jon Dufresne
processor dependency. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-04-27Removed unnecessary capturing/hiding of stdout/stderr in various tests.François Freitag
2020-04-20Capitalized Unicode in docs, strings, and comments.Jon Dufresne
2019-12-10Refs #23433 -- Fixed test_django_admin_py.DeprecationTest tests failures on ↵Mariusz Felisiak
Windows and Python < 3.8. subprocess.run()'s args parameter accepts a path-like object on Windows since Python 3.8.
2019-12-06Fixed #23433 -- Deprecated django-admin.py entry point in favor of django-admin.Jon Dufresne
Unify on the entry point created by setuptools entry_points feature.
2019-12-06Refs #23433 -- Removed script argument from AdminScriptTestCase.run_test().Jon Dufresne
2019-12-06Removed unnecessary __init__.py creation in admin_scripts.tests.Jon Dufresne
2019-10-18Fixed typo in tests/admin_scripts/tests.py.Daniel Musketa
2019-10-15Fixed #30872 -- Improved unknown command message when settings are manually ↵Carlton Gibson
configured.
2019-08-23Replaced subprocess commands by run() wherever possible.Claude Paroz
2019-04-26Fixed #30312 -- Relaxed admin check from django.contrib.sessions to ↵Aarni Koskela
SessionMiddleware subclasses.
2019-04-25Fixed #30393 -- Added validation of startapp's directory option.oliver
2019-03-30Made startapp/project's overlaying error message use 'app' or 'project'.oliver
2019-02-26Refs #30057 -- Added more diffsettings tests.orlnub123
The test in 573f44d62fe1e87e2c20a74eba5e20ca9ff0ed85 doesn't act as a regression test.
2019-02-14Fixed admin_scripts test failures on macOS.Carlton Gibson
Regression in 487d904bf253de2f5633f181a168f94086bcd6cb.
2019-02-06Refs #27804 -- Used subTest() in admin_scripts invalid name tests.Jon Dufresne
2019-02-05Simplified temporary directory handling in AdminScriptTestCase.Jon Dufresne
Use tempfile.TemporaryDirectory() in AdminScriptTestCase.setUp() to create and destroy a temporary directory for each test. It removes the need for individual tests to delete files. For test classes that don't use the temporary directory, inherit from SimpleTestCase.
2019-02-05Replaced manual current directory management with subprocess's cwd argument.Jon Dufresne
2019-01-31Fixed #30147 -- Simplified directory creation with os.makedirs(..., ↵Jon Dufresne
exist_ok=True).
2019-01-30Fixed #30116 -- Dropped support for Python 3.5.Tim Graham
2019-01-27Removed default mode='r' argument from calls to open().Jon Dufresne
2019-01-27Refs #23919 -- Replaced codecs.open() with open().Jon Dufresne
On Python 3, open() handles encodings.
2019-01-12Fixed #30057 -- Fixed diffsettings ignoring custom configured settings.orlnub123
Regression in 49b679371fe9beddcd23a93b5fdbadea914f37f8.
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-09-11Fixed #29560 -- Added --force-color management command option.Hasan Ramezani
2018-09-11Reused a duplicated class in admin_scripts tests.Tim Graham
2018-08-20Fixed #29695 -- Added system checks for admin's app dependencies and ↵Rodrigo
TEMPLATES setting.
2018-08-20Fixed #29236 -- Fixed diffsettings crash if using settings.configure().Hasan Ramezani
2018-05-26Reverted "Fixed #29324 -- Made Settings raise ImproperlyConfigured if ↵Tim Graham
SECRET_KEY is accessed and not set." This reverts commit b3cffde5559c4fa97625512d7ec41a674be26076 due to a regression and performance concerns.
2018-04-17Fixed #29324 -- Made Settings raise ImproperlyConfigured if SECRET_KEY is ↵Jon Dufresne
accessed and not set.
2018-04-11Fixed #29301 -- Made management command --help display command-specific ↵David Foster
arguments before common arguments.
2018-02-21Fixed #28398 -- Added suggestions for mistyped management commands.Tom Forbes
2018-01-03Refs #23919 -- Removed obsolete __init__.py files in management command ↵я котик пур-пур
directories.
2017-12-23Fixed #28594 -- Removed Jython docs and specific codeClaude Paroz
Thanks Andrey Martyanov for the reporti, and Tim Graham for the review.
2017-12-20Moved unnecessary inner imports in admin_scripts tests.Tim Graham
2017-12-20Fixed #28941 -- Fixed crash in testserver command startup.Tim Graham
Regression in 2b09e4c88e96cb03b29f5a6b0e4838ab4271e631.
2017-12-07Fixed #28791 -- Allowed commands that don't require settings to work if the ↵geekodour
DJANGO_SETTINGS_MODULE doesn't exist.
2017-10-13Fixed #28708 -- Added constants to detect the Python version.Tim Graham
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
2017-08-31Fixed #28524 -- Fixed program name in management commands when using 'python ↵Nick Pope
-m django'.
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-06-19Fixed #27858 -- Prevented read-only management commands from creating the ↵Marti Raudsepp
django_migrations table. MigrationRecorder now assumes that if the django_migrations table doesn't exist, then no migrations are applied. Reverted documentation change from refs #23808.
2017-05-30Improved test coverage for startapp/startproject management commands.Adam Johnson
2017-05-27Fixed #27881 -- Added diffsettings --output option.Chris Lamb
Thanks Haris Ibrahim K. V. for writng docs.
2017-05-10Fixed db backend discovery in admin_scripts tests.Florian Apolloner
Not all backends have dots in them.
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-27Refs #27537 -- Added default_addr(_ipv6) attributes to runserver command.Ed Morley
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-24Removed unneeded force_text calls in the test suiteClaude Paroz
2017-01-21Refs #23919 -- Removed misc references to Python 2.Tim Graham