def setUp(self):
    self._resolver_context = context.Context()
    test_file = os.path.join(u'test_data', u'password.txt')
    self._path_spec1 = os_path_spec.OSPathSpec(location=test_file)

    test_file = os.path.join(u'test_data', u'another_file')
    self._path_spec2 = os_path_spec.OSPathSpec(location=test_file)
Sets up the needed objects used throughout the test.
dataset/ETHPy150Open log2timeline/dfvfs/tests/file_io/os_file_io.py/OSFileTest.setUp