unbreak some tests.
authorMarien Zwart <marienz@gentoo.org>
Wed, 5 Apr 2006 00:19:17 +0000 (02:19 +0200)
committerMarien Zwart <marienz@gentoo.org>
Wed, 5 Apr 2006 00:19:17 +0000 (02:19 +0200)
becommands/assign.py
becommands/close.py
becommands/inprogress.py
becommands/open.py
becommands/set.py
becommands/severity.py
becommands/target.py

index 2308a12669a778b9121a7714e2f0f5165ae7f5b1..38ece52cdefdd6b07384337e8e1784a9337087a8 100644 (file)
@@ -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()
index 3ced7ebd31ffbf17395833f00827eaa371a96e83..7e5ac1c0df7748183e62d62056097095bd1d6b92 100644 (file)
@@ -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()
index 10d5cbd716a58f98e519f208c233dcf9397be2eb..9e396dedfd12da3adb2318d7909b3752f1d1b310 100644 (file)
@@ -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()
index 89067f81c4d7af14ce8412bc7dbe2c413849be39..e51bf792fbcc2d788b88b3d6a2ec39c1e6bf7c41 100644 (file)
@@ -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()
index 6f40b5f13d2a6c75cdc1649e34c0225488d1fcd7..e359df1bb055a1af0f64be86fcdad62b687fd674 100644 (file)
@@ -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()
     """
index 82ef7ca709139fb763ee4b3c976a808e983ed513..af99bf7f5130c91bf89eab2d13823e65b43d4992 100644 (file)
@@ -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()
index 665efadb476bbc3c08a5861650ba4cc116d91fa1..4b015b462dbf7274953395ef511766046bf5295b 100644 (file)
@@ -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()
     """