def setUp(self):
    super(ZipFileTest, self).setUp()
    self._resolver_context = context.Context()
    test_file = os.path.join(u'test_data', u'syslog.zip')
    path_spec = os_path_spec.OSPathSpec(location=test_file)
    self._zip_path_spec = zip_path_spec.ZipPathSpec(
        location=u'/syslog', parent=path_spec)
Sets up the needed objects used throughout the test.
dataset/ETHPy150Open log2timeline/dfvfs/tests/file_io/zip_file_io.py/ZipFileTest.setUp