aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--becommands/assign.py2
-rw-r--r--becommands/close.py2
-rw-r--r--becommands/inprogress.py2
-rw-r--r--becommands/open.py2
-rw-r--r--becommands/set.py6
-rw-r--r--becommands/severity.py4
-rw-r--r--becommands/target.py6
7 files changed, 12 insertions, 12 deletions
diff --git a/becommands/assign.py b/becommands/assign.py
index d7c2fca..38ece52 100644
--- a/becommands/assign.py
+++ b/becommands/assign.py
@@ -26,7 +26,7 @@ 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"])
diff --git a/becommands/close.py b/becommands/close.py
index 2b28055..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 005bdbc..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 d93eb61..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 a93cbf3..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", "none"])
- >>> execute(["a",])
+ >>> execute(["a"])
None
>>> tests.clean_up()
"""
diff --git a/becommands/severity.py b/becommands/severity.py
index 92c83fc..af99bf7 100644
--- a/becommands/severity.py
+++ b/becommands/severity.py
@@ -25,10 +25,10 @@ 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", "none"])
Traceback (most recent call last):
diff --git a/becommands/target.py b/becommands/target.py
index f872abb..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", "none"])
- >>> execute(["a",])
+ >>> execute(["a"])
No target assigned.
>>> tests.clean_up()
"""