

def test_subcommand_with_positional_shown(self):
    child = commands.Command()
    child.add_argument('baz', help='the great and wonderful')
    cmd = commands.Command()
    cmd.add_child('bar', child)
    expected = 'usage: foo\n\nCOMMANDS:\n\nbar baz\n\n    baz  the great and wonderful'
    self.assertEqual(self, cmd.format_help('foo').strip())

dataset/ETHPy150Open mopidy/mopidy/tests/test_commands.py HelpTest.test_subcommand_with_positional_shown/VarMisuse@54/113 `expected`->`self`