def test_parse_multiple_kwargs(self): s = ('stitle=title with spaces ' 'spriority=priority with more spaces').split() self.assertEqual( cli._parse_kwargs(s), { 'stitle': 'title with spaces', 'spriority': 'priority with more spaces', })
def test_parse_multiple_kwargs(self): s = ( 'stitle=title with spaces ' 'spriority=priority with more spaces' ).split() self.assertEqual(cli._parse_kwargs(s), { 'stitle': 'title with spaces', 'spriority': 'priority with more spaces', })
def test_parse_on_kwargs(self): s = 'stitle=title'.split() self.assertEqual(cli._parse_kwargs(s), { 'stitle': 'title', })