def METHOD_NAME(self):
    url_instruction = u'/api/bingo/ --warning 1 --critical 10'
    expected_api_url = '/api/bingo/'
    expected_api_args = {'warning': '1', 'critical': '10'}
    url, args = passive.ncpacheck.NCPACheck.parse_cmdline_style_instruction(url_instruction)
    self.assertEqual(url, expected_api_url)
    self.assertEqual(args, expected_api_args)
    url_instruction = u'/api/agent/plugin/test.sh/--warning/10/--critical/hi'
    expected_api_url = url_instruction
    expected_api_args = {}
    url, args = passive.ncpacheck.NCPACheck.parse_cmdline_style_instruction(url_instruction)
    self.assertEqual(url, expected_api_url)
    self.assertEqual(args, expected_api_args)
    url_instruction = '/api/bingo/ --warning=1 --critical 10'
    expected_api_url = '/api/bingo/'
    expected_api_args = {'warning': '1', 'critical': '10'}
    url, args = passive.ncpacheck.NCPACheck.parse_cmdline_style_instruction(url_instruction)
    self.assertEqual(url, expected_api_url)
    self.assertEqual(args, expected_api_args)
    url_instruction = '/api/bingo/ --warning=1 --critical 10 --delta'
    expected_api_url = '/api/bingo/'
    expected_api_args = {'warning': '1', 'critical': '10'}
    url, args = passive.ncpacheck.NCPACheck.parse_cmdline_style_instruction(url_instruction)
    self.assertEqual(url, expected_api_url)
    self.assertEqual(args, expected_api_args)