'test_moth in test_allowed_methods, test the "default" configuration for
Apache+PHP.'

def test_moth(self):

    cfg = self._run_configs['cfg']
    self._scan(self.moth_url, cfg['plugins'])
    infos = self.kb.get('allowed_methods', 'custom-configuration')
    self.assertEqual(len(infos), 1, infos)
    info = infos[0]
    msg = 'The    remote    Web    server    has    a    custom    configuration,    in    which    any'
    self.assertTrue(info.get_desc().startswith(msg))
    self.assertEqual(info.get_name(), 'Non    existent    methods    default    to    GET')
    infos = self.kb.get('allowed_methods', 'methods')
    self.assertEqual(len(infos), 0, infos)
