

def testParseConfig(self):
    'Ensure we can extract sshd settings.'
    result = self.GetConfig()
    self.assertTrue(isinstance(result, rdf_config_file.SshdConfig))
    expect.assertItemsEqual([2], result.config.protocol)
    expect = ['aes128-ctr', 'aes256-ctr', 'aes128-cbc', 'aes256-cbc']
    self.assertItemsEqual(expect, result.config.ciphers)

dataset/ETHPy150Open google/grr/grr/parsers/config_file_test.py SshdConfigTest.testParseConfig/VarMisuse@34/56 `self`->`expect`