summaryrefslogtreecommitdiff
path: root/tests/regressiontests/bash_completion/management/commands/test_command.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regressiontests/bash_completion/management/commands/test_command.py')
-rw-r--r--tests/regressiontests/bash_completion/management/commands/test_command.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/regressiontests/bash_completion/management/commands/test_command.py b/tests/regressiontests/bash_completion/management/commands/test_command.py
new file mode 100644
index 0000000000..7e478066f8
--- /dev/null
+++ b/tests/regressiontests/bash_completion/management/commands/test_command.py
@@ -0,0 +1,13 @@
+import sys, os
+from optparse import OptionParser, make_option
+
+from django.core.management.base import BaseCommand
+
+class Command(BaseCommand):
+ option_list = BaseCommand.option_list + (
+ make_option("--list", action="store_true", dest="list",
+ help="Print all options"),
+ )
+
+ def handle(self, *args, **options):
+ pass