Your IP : 216.73.216.213


Current Path : /opt/alt/python37/lib/python3.7/site-packages/pyfakefs/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/pyfakefs/__pycache__/pytest_plugin.cpython-37.pyc

B

��\��@srdZddlZddlZddlZddlZddlmZej�e�ej�e�ej�e�ej�e�ej	dd��Z
dS)z�A pytest plugin for using pyfakefs as a fixture

When pyfakefs is installed, the "fs" fixture becomes available.

:Usage:

def my_fakefs_test(fs):
    fs.create_file('/var/data/xx1.txt')
    assert os.path.exists('/var/data/xx1.txt')
�N)�Patcherccs2t�}|��|jt_|jt_|jV|��dS)z Fake filesystem. N)	rZsetUpZ
original_open�	linecache�open�tokenize�
_builtin_open�fsZtearDown)�patcher�r	�G/opt/alt/python37/lib/python3.7/site-packages/pyfakefs/pytest_plugin.pyr!sr)�__doc__rr�pyZpytestZ!pyfakefs.fake_filesystem_unittestrZSKIPMODULES�addZfixturerr	r	r	r
�<module>
s