From 5d75c1f4b7362ef184276f781346e69c34bd4874 Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Tue, 4 Apr 2006 19:52:25 -0400 Subject: Fixed tests to use lists, so that optparse can mangle them --- becommands/set.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'becommands/set.py') 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() """ -- cgit