1515 --help Show this message and exit.
1616
1717Commands:
18- changepassword [django] Change a user's password for...
19- check [django] Checks the entire Django project for...
20- clearsessions [django] Can be run as a cronjob or directly...
21- collectstatic [django] Collect static files in a single...
22- compilemessages [django] Compiles .po files to .mo files for...
23- createcachetable [django] Creates the tables needed to use the...
24- createsuperuser [django] Used to create a superuser.
25- dbshell [django] Runs the command-line client for...
26- diffsettings [django] Displays differences between the...
27- dumpdata [django] Output the contents of the database...
28- findstatic [django] Finds the absolute paths for the...
29- flush [django] Removes ALL DATA from the database,...
30- inspectdb [django] Introspects the database tables in...
31- loaddata [django] Installs the named fixture(s) in the...
32- makemessages [django] Runs over the entire source tree of...
33- makemigrations [django] Creates new migration(s) for apps.
34- migrate [django] Updates database schema.
35- optimizemigration [django] Optimizes the operations for the...
36- remove_stale_contenttypes [django]
37- sendtestemail [django] Sends a test email to the email...
38- shell [django] Runs a Python interactive interpreter.
39- showmigrations [django] Shows all available migrations for...
40- sqlflush [django] Returns a list of the SQL statements...
41- sqlmigrate [django] Prints the SQL statements for the...
42- sqlsequencereset [django] Prints the SQL statements for...
43- squashmigrations [django] Squashes an existing set of...
44- test [django] Discover and run tests in the...
45- testserver [django] Runs a development server with data...
4618"""
4719
4820
@@ -66,7 +38,7 @@ def test_command_help(cli_runner):
6638
6739 res = cli_runner .invoke (django_command_group , ["--help" ])
6840 assert res .exit_code == 0
69- assert res .stdout == HELP_OUTPUT
41+ assert HELP_OUTPUT in res .stdout
7042
7143
7244def test_check_help (cli_runner ):
0 commit comments