diff options
author | Marien Zwart <marienz@gentoo.org> | 2006-04-05 02:19:17 +0200 |
---|---|---|
committer | Marien Zwart <marienz@gentoo.org> | 2006-04-05 02:19:17 +0200 |
commit | 6691e2276112b3aad603a7b14ff80b53f77e03e3 (patch) | |
tree | cc5a4bcbf86c39a7f19c637ff037834f8442ec53 /becommands | |
parent | c1f60d534fbc5496a0e3df2cb7c0d053e5fa40a8 (diff) | |
download | bugseverywhere-6691e2276112b3aad603a7b14ff80b53f77e03e3.tar.gz |
unbreak some tests.
Diffstat (limited to 'becommands')
-rw-r--r-- | becommands/assign.py | 6 | ||||
-rw-r--r-- | becommands/close.py | 2 | ||||
-rw-r--r-- | becommands/inprogress.py | 2 | ||||
-rw-r--r-- | becommands/open.py | 2 | ||||
-rw-r--r-- | becommands/set.py | 10 | ||||
-rw-r--r-- | becommands/severity.py | 8 | ||||
-rw-r--r-- | becommands/target.py | 10 |
7 files changed, 20 insertions, 20 deletions
diff --git a/becommands/assign.py b/becommands/assign.py index 2308a12..38ece52 100644 --- a/becommands/assign.py +++ b/becommands/assign.py @@ -26,13 +26,13 @@ def execute(args): >>> os.chdir(dir.dir) >>> dir.get_bug("a").assigned is None True - >>> execute(("a",)) + >>> execute(["a"]) >>> dir.get_bug("a").assigned == names.creator() True - >>> execute(("a", "someone")) + >>> execute(["a", "someone"]) >>> dir.get_bug("a").assigned u'someone' - >>> execute(("a","none")) + >>> execute(["a","none"]) >>> dir.get_bug("a").assigned is None True >>> tests.clean_up() diff --git a/becommands/close.py b/becommands/close.py index 3ced7eb..7e5ac1c 100644 --- a/becommands/close.py +++ b/becommands/close.py @@ -24,7 +24,7 @@ def execute(args): >>> os.chdir(dir.dir) >>> dir.get_bug("a").status u'open' - >>> execute(("a",)) + >>> execute(["a"]) >>> dir.get_bug("a").status u'closed' >>> tests.clean_up() diff --git a/becommands/inprogress.py b/becommands/inprogress.py index 10d5cbd..9e396de 100644 --- a/becommands/inprogress.py +++ b/becommands/inprogress.py @@ -24,7 +24,7 @@ def execute(args): >>> os.chdir(dir.dir) >>> dir.get_bug("a").status u'open' - >>> execute(("a",)) + >>> execute(["a"]) >>> dir.get_bug("a").status u'in-progress' >>> tests.clean_up() diff --git a/becommands/open.py b/becommands/open.py index 89067f8..e51bf79 100644 --- a/becommands/open.py +++ b/becommands/open.py @@ -24,7 +24,7 @@ def execute(args): >>> os.chdir(dir.dir) >>> dir.get_bug("b").status u'closed' - >>> execute(("b",)) + >>> execute(["b"]) >>> dir.get_bug("b").status u'open' >>> tests.clean_up() diff --git a/becommands/set.py b/becommands/set.py index 6f40b5f..e359df1 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() """ diff --git a/becommands/severity.py b/becommands/severity.py index 82ef7ca..af99bf7 100644 --- a/becommands/severity.py +++ b/becommands/severity.py @@ -25,12 +25,12 @@ def execute(args): >>> import os >>> dir = tests.simple_bug_dir() >>> os.chdir(dir.dir) - >>> execute(("a",)) + >>> execute(["a"]) minor - >>> execute(("a", "wishlist")) - >>> execute(("a",)) + >>> execute(["a", "wishlist"]) + >>> execute(["a"]) wishlist - >>> execute(("a", "none")) + >>> execute(["a", "none"]) Traceback (most recent call last): UserError: Invalid severity level: none >>> tests.clean_up() diff --git a/becommands/target.py b/becommands/target.py index 665efad..4b015b4 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() """ |