Revision 12be2bd2

b/Changelog
10 10
- Remove commands.pithos.DelimiterArgument, replace with ValueArgument
11 11
    wherever it is used
12 12
- Replace print methods with member print methods in _commands.* [#4292]
13
- kamaki.cli.config is now a directory package [#4058]
13 14

  
14 15
Features:
15 16

  
......
18 19
  errors
19 20
- Modify print methods in cli utils to use arbitary stream objects [#4288]
20 21
- Implement wrapers for cli.utils print methods, in _commands [#4292]
22
- Implement unittests for kamaki.cli.config [#4058]
21 23

  
b/kamaki/cli/utils/test.py
234 234
                        title = sorted(set(title).intersection(item))
235 235
                        pick = item.get if with_redundancy else item.pop
236 236
                        header = ' '.join('%s' % pick(key) for key in title)
237
                        self.assertEqual(
238
                            bold.mock_calls[bold_counter], call(header))
239
                        self.assertEqual(out.read(5), 'bold\n')
237
                        if header:
238
                            self.assertEqual(
239
                                bold.mock_calls[bold_counter], call(header))
240
                            self.assertEqual(out.read(5), 'bold\n')
241
                            bold_counter += 1
240 242
                        self.assertEqual(
241 243
                            PD.mock_calls[pd_counter],
242 244
                            call(item, indent=INDENT_TAB, out=out))
243 245
                        pd_counter += 1
244
                        bold_counter += 1
245 246
                    elif isinstance(item, list) or isinstance(item, tuple):
246 247
                        self.assertEqual(
247 248
                            PL.mock_calls[pl_counter],

Also available in: Unified diff