

def GetConfig(self):
    'Read in the test configuration file.'
    parser = config_file.SshdConfigParser()
    results = list(parser.Parse(None, StringIO.StringIO(CFG), None))
    self.assertEqual(1, len(results))
    return results[0]

dataset/ETHPy150Open google/grr/grr/parsers/config_file_test.py SshdConfigTest.GetConfig/original