aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/target.py
diff options
context:
space:
mode:
authorAaron Bentley <aaron.bentley@utoronto.ca>2006-04-04 19:52:25 -0400
committerAaron Bentley <aaron.bentley@utoronto.ca>2006-04-04 19:52:25 -0400
commit5d75c1f4b7362ef184276f781346e69c34bd4874 (patch)
tree4d9444c748d0f7520481b23216a92723bcba12ce /becommands/target.py
parent2225a378d84f77c3512ee407af1aeb355b463084 (diff)
downloadbugseverywhere-5d75c1f4b7362ef184276f781346e69c34bd4874.tar.gz
Fixed tests to use lists, so that optparse can mangle them
Diffstat (limited to 'becommands/target.py')
-rw-r--r--becommands/target.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/becommands/target.py b/becommands/target.py
index 665efad..f872abb 100644
--- a/becommands/target.py
+++ b/becommands/target.py
@@ -25,13 +25,13 @@ def execute(args):
>>> import os
>>> dir = tests.simple_bug_dir()
>>> os.chdir(dir.dir)
- >>> execute(("a",))
+ >>> execute(["a",])
No target assigned.
- >>> execute(("a", "tomorrow"))
- >>> execute(("a",))
+ >>> execute(["a", "tomorrow"])
+ >>> execute(["a",])
tomorrow
- >>> execute(("a", "none"))
- >>> execute(("a",))
+ >>> execute(["a", "none"])
+ >>> execute(["a",])
No target assigned.
>>> tests.clean_up()
"""