diff options
Diffstat (limited to 'tests/bash_completion/management')
| -rw-r--r-- | tests/bash_completion/management/__init__.py | 1 | ||||
| -rw-r--r-- | tests/bash_completion/management/commands/__init__.py | 1 | ||||
| -rw-r--r-- | tests/bash_completion/management/commands/test_command.py | 13 |
3 files changed, 15 insertions, 0 deletions
diff --git a/tests/bash_completion/management/__init__.py b/tests/bash_completion/management/__init__.py new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/tests/bash_completion/management/__init__.py @@ -0,0 +1 @@ + diff --git a/tests/bash_completion/management/commands/__init__.py b/tests/bash_completion/management/commands/__init__.py new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/tests/bash_completion/management/commands/__init__.py @@ -0,0 +1 @@ + diff --git a/tests/bash_completion/management/commands/test_command.py b/tests/bash_completion/management/commands/test_command.py new file mode 100644 index 0000000000..0f5750645c --- /dev/null +++ b/tests/bash_completion/management/commands/test_command.py @@ -0,0 +1,13 @@ +from optparse import 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 |
