aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/set.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/set.py
parent2225a378d84f77c3512ee407af1aeb355b463084 (diff)
downloadbugseverywhere-5d75c1f4b7362ef184276f781346e69c34bd4874.tar.gz
Fixed tests to use lists, so that optparse can mangle them
Diffstat (limited to 'becommands/set.py')
-rw-r--r--becommands/set.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/becommands/set.py b/becommands/set.py
index 6f40b5f..a93cbf3 100644
--- a/becommands/set.py
+++ b/becommands/set.py
@@ -22,13 +22,13 @@ def execute(args):
>>> import os
>>> dir = tests.simple_bug_dir()
>>> os.chdir(dir.dir)
- >>> execute(("a",))
+ >>> execute(["a",])
None
- >>> execute(("a", "tomorrow"))
- >>> execute(("a",))
+ >>> execute(["a", "tomorrow"])
+ >>> execute(["a",])
tomorrow
- >>> execute(("a", "none"))
- >>> execute(("a",))
+ >>> execute(["a", "none"])
+ >>> execute(["a",])
None
>>> tests.clean_up()
"""