def setUp(self):
    self._resolver_context = context.Context()
    test_file = os.path.join(u'test_data', u'syslog.rc4')
    path_spec = os_path_spec.OSPathSpec(location=test_file)
    self._encrypted_stream_path_spec = (
        encrypted_stream_path_spec.EncryptedStreamPathSpec(
            encryption_method=definitions.ENCRYPTION_METHOD_RC4,
            parent=path_spec))
    resolver.Resolver.key_chain.SetCredential(
        self._encrypted_stream_path_spec, u'key', self._RC4_KEY)

    self._file_system = (
        encrypted_stream_file_system.EncryptedStreamFileSystem(
            self._resolver_context))
    self._file_system.Open(self._encrypted_stream_path_spec)
generated source for method exerciseOptions
dataset/ETHPy150Open log2timeline/dfvfs/tests/vfs/encrypted_stream_file_entry.py/EncryptedStreamFileEntryTest.setUp--crossover with--dataset/ETHPy150Open CarterBain/Medici/ib/ext/EClientSocket.py/EClientSocket.exerciseOptions