summaryrefslogtreecommitdiff
path: root/tests/bash_completion/management
diff options
context:
space:
mode:
authorFlorian Apolloner <florian@apolloner.eu>2013-02-26 09:53:47 +0100
committerFlorian Apolloner <florian@apolloner.eu>2013-02-26 14:36:57 +0100
commit89f40e36246100df6a11316c31a76712ebc6c501 (patch)
tree6e65639683ddaf2027908d1ecb1739e0e2ff853b /tests/bash_completion/management
parentb3d2ccb5bfbaf6e7fe1f98843baaa48c35a70950 (diff)
Merged regressiontests and modeltests into the test root.
Diffstat (limited to 'tests/bash_completion/management')
-rw-r--r--tests/bash_completion/management/__init__.py1
-rw-r--r--tests/bash_completion/management/commands/__init__.py1
-rw-r--r--tests/bash_completion/management/commands/test_command.py13
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