summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/modeltests/user_commands/management/commands/dance.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/modeltests/user_commands/management/commands/dance.py b/tests/modeltests/user_commands/management/commands/dance.py
index 34eb277567..4ad5579e1e 100644
--- a/tests/modeltests/user_commands/management/commands/dance.py
+++ b/tests/modeltests/user_commands/management/commands/dance.py
@@ -9,8 +9,10 @@ class Command(BaseCommand):
requires_model_validation = True
option_list =[
- make_option("-s", "--style", default="Rock'n'Roll")
+ make_option("-s", "--style", default="Rock'n'Roll"),
+ make_option("-x", "--example")
]
def handle(self, *args, **options):
+ example = options["example"]
self.stdout.write("I don't feel like dancing %s." % options["style"])