Revision fcd62d84 test/ganeti.cli_unittest.py
b/test/ganeti.cli_unittest.py | ||
---|---|---|
61 | 61 |
|
62 | 62 |
class TestSplitKeyVal(unittest.TestCase): |
63 | 63 |
"""Testing case for cli._SplitKeyVal""" |
64 |
DATA = "a=b,c,no_d" |
|
65 |
RESULT = {"a": "b", "c": True, "d": False} |
|
64 |
DATA = "a=b,c,no_d,-e"
|
|
65 |
RESULT = {"a": "b", "c": True, "d": False, "e": None}
|
|
66 | 66 |
|
67 | 67 |
def testSplitKeyVal(self): |
68 | 68 |
"""Test splitting""" |
Also available in: Unified diff