def test_get_key_empty_value(self): line = Line('A:\n', self.paragraph) k, v = line.get_key_value() self.assertEqual(k, 'a') self.assertEqual(v, '')
def test_get_key_value(self): line = Line(' B: Bb\n', self.paragraph) k, v = line.get_key_value() self.assertEqual(k, 'b') self.assertEqual(v, 'bb')