def test_complete_option_argument(self):

        # Show all valid arguments
        self.assertEqual(self.cli_test(example_tree, ('a', 'FOO', 'a_option1', '')),
            (test_a, 'FOO', { 'a_option1': '' }, set(['FOO', 'FOD', 'BAR']))
        )

        # Complete two arguments
        self.assertEqual(self.cli_test(example_tree, ('a', 'FOO', 'a_option1', 'F')),
            (test_a, 'FOO', { 'a_option1': 'F' }, set(['FOO', 'FOD']))
        )

        # Complete complete argument
        self.assertEqual(self.cli_test(example_tree, ('a', 'FOO', 'a_option1', 'FOO')),
            (test_a, 'FOO', { 'a_option1': 'FOO' }, set(['FOO', ]))
        )
Get the number of devices currently being shaped.
dataset/ETHPy150Open SpriteLink/NIPAP/nipap-cli/tests/cli-test.py/CliCheck.test_complete_option_argument--crossover with--dataset/ETHPy150Open facebook/augmented-traffic-control/atc/atcd/atcd/AtcdThriftHandlerTask.py/AtcdThriftHandlerTask.getShapedDeviceCount