def test_overflow(self):

        # Add too many options to command
        self.assertRaises(InvalidCommand, self.cli_test, example_tree, ('a', 'FOO', 'a_option1', 'b', 'a_option2', 'c', 'BAR'))

        # Add too manny commands to command
        self.assertRaises(InvalidCommand, self.cli_test, example_tree, ('d', 'BAR'))
Should raise an InvalidCommand exception as the command is too long
dataset/ETHPy150Open SpriteLink/NIPAP/nipap-cli/tests/cli-test.py/CliCheck.test_overflow