Your IP : 216.73.216.213
�
��\c @ sM d Z d d l Z d d l Z d d l m Z d � Z d � Z d � Z d S( s? Tests that the pytest plugin properly provides the "fs" fixturei����N( t Pausec C s) | j d � t j j d � s% t � d S( Ns /var/data/xx1.txt( t create_filet ost patht existst AssertionError( t fs( ( sY /opt/alt/python27/lib/python2.7/site-packages/pyfakefs/pytest_tests/pytest_plugin_test.pyt test_fs_fixture s
c C s t j � } | j | j � s$ t � t j j | j � s? t � | j � | j | j � sa t � t j j | j � s} t � t j � } | j | j � s� t � t j j | j � s� t � | j � t j j | j � s� t � t j j | j � s� t � d S( N( t tempfilet NamedTemporaryFileR t nameR R R t pauset resume( R t fake_temp_filet real_temp_file( ( sY /opt/alt/python27/lib/python2.7/site-packages/pyfakefs/pytest_tests/pytest_plugin_test.pyt test_pause_resume
s
c C s t j � } | j | j � s$ t � t j j | j � s? t � t | � �y | j | j � sd t � t j j | j � s� t � t j � } | j | j � s� t � t j j | j � s� t � Wd QXt j j | j � s� t � t j j | j � s� t � d S( N( R R R R
R R R R ( R R
R ( ( sY /opt/alt/python27/lib/python2.7/site-packages/pyfakefs/pytest_tests/pytest_plugin_test.pyt test_pause_resume_contextmanager s
!( t __doc__R R t! pyfakefs.fake_filesystem_unittestR R R R ( ( ( sY /opt/alt/python27/lib/python2.7/site-packages/pyfakefs/pytest_tests/pytest_plugin_test.pyt <module> s