[python-bugzilla] [PATCH 2/3] Include new options in unit tests
Lon Hohberger
lhh at redhat.com
Thu Jan 16 16:02:36 UTC 2014
Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
tests/createbug.py | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/tests/createbug.py b/tests/createbug.py
index 740a25f..dab2205 100644
--- a/tests/createbug.py
+++ b/tests/createbug.py
@@ -62,13 +62,16 @@ class CreatebugTest(unittest.TestCase):
def testMultiOpts(self):
# Test all opts that can take lists
out = {'blocks': ['3', '4'], 'cc': ['1', '2'],
- 'depends_on': ['5', 'foo', 'wib'], 'groups': ['bar', '8']}
+ 'depends_on': ['5', 'foo', 'wib'], 'groups': ['bar', '8'],
+ 'keywords': ['TestOnly', 'ZStream']}
self.clicomm(
- "--cc 1,2 --blocked 3,4 --dependson 5,foo,wib --groups bar,8",
+ "--cc 1,2 --blocked 3,4 --dependson 5,foo,wib --groups bar,8 "
+ "--keywords TestOnly,ZStream",
out
)
self.clicomm(
"--cc 1 --cc 2 --blocked 3 --blocked 4 "
- "--dependson 5,foo --dependson wib --groups bar --groups 8",
+ "--dependson 5,foo --dependson wib --groups bar --groups 8 "
+ "--keywords TestOnly --keywords ZStream",
out
)
--
1.8.4.2
More information about the python-bugzilla
mailing list