Revision 4f31882e test/ganeti.cli_unittest.py

b/test/ganeti.cli_unittest.py
75 75
      self.failUnlessRaises(ParameterError, cli._SplitKeyVal,
76 76
                            "option", data)
77 77

  
78
  def testEmptyData(self):
79
    """Test how we handle splitting an empty string"""
80
    self.failUnlessEqual(cli._SplitKeyVal("option", ""), {})
81

  
78 82

  
79 83
class TestToStream(unittest.TestCase):
80 84
  """Thes the ToStream functions"""

Also available in: Unified diff