관리-도구
편집 파일: fake_filesystem_test.cpython-311.pyc
� �܋f�� � � � d Z ddlZddlZddlZddlZddlZddlZddlmZm Z m Z ddlmZm Z mZmZmZ ddlmZ ddlmZmZmZ G d� de� � Z G d � d e� � Z G d� de� � Z G d � de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de � � Z! G d� de � � Z" G d� d e � � Z# G d!� d"e� � Z$ G d#� d$e� � Z% G d%� d&e� � Z& G d'� d(e� � Z' G d)� d*e� � Z( G d+� d,e� � Z) G d-� d.e� � Z* G d/� d0e� � Z+ G d1� d2e� � Z,e-d3k r ej. � � dS dS )4z$Unittest for fake_filesystem module.� N)�fake_filesystem�fake_os� fake_open)�set_uid�set_gid�is_root� reset_ids�OSType)�IS_WIN)�TestCase�RealFsTestCase� time_mockc � � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z d � Zd � Zd� Z d� Zd � Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� ZdS )�FakeDirectoryUnitTestc �T � t j d�� � | _ t j | j � � | _ t dd� � | _ | j � � � t j dd| j �� � | _ t j d| j � � � | _ d S ) N�/��path_separator� � �foobar� dummy_file)�contents� filesystem�somedir�r ) r �FakeFilesystemr r �FakeOsModule�osr �time�start�FakeFile� fake_file� FakeDirectory�fake_dir��selfs �t/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pyfakefs/tests/fake_filesystem_test.py�setUpzFakeDirectoryUnitTest.setUp% s� � �)�8��L�L�L����&�t��7�7����b�!�$�$�� �� ������(�1��|��� � � ��� (�5��$�/� � � �� � � � c �8 � | j � � � d S �N)r �stopr&