1155
1160
"""Assert that parsing ARGS should result in an instance of
1156
1161
COMMAND_CLS with (optionally) all supplied attributes (CMD_ATTRS)."""
1157
1162
options = self.parser.parse_args(args)
1158
1164
commands = commands_from_options(options)
1159
1165
self.assertEqual(len(commands), 1)