1jc d dl Z d dlZd dlmc mZ ej j d Zej ddegggd d Z d Z
d ZdS ) Nc d | t j d t dS )zLTest fails because EXAMPLE_FILE is cached in the module
and not patched.
stuff herecontentsNcreate_fileexampleEXAMPLE_FILE%check_that_example_file_is_in_fake_fsfss /builddir/build/BUILD/cloudlinux-venv-1.0.11/venv/lib/python3.11/site-packages/pyfakefs/pytest_tests/pytest_fixture_param_test.pytest_example_file_failingr / NN7',N???)+++++ r
T)indirectc d | t j d t dS )zRTest passes if using a fixture that reloads the module containing
EXAMPLE_FILEr r Nr r s r 4test_example_file_passing_using_parametrized_fixturer r r c t t j 5 } | dk sJ d d d n# 1 swxY w Y t j 5 } | dk sJ d d d n# 1 swxY w Y t j dk sJ t j sJ d S )Nr )openr r
read read_textis_file)files r r r % sE
g" # # +tyy{{l*****+ + + + + + + + + + + + + + + " " $ $ +yy{{l*****+ + + + + + + + + + + + + + +))++|;;;;'')))))))s# AA A+BBBc | d t j d t j d d S )Nz/absolute/path/to/directory)
create_diroschdirr s r test_twice_chdirr . s? MM/000H
*+++H
*+++++r )r pytestpyfakefs.pytest_tests.examplepytest_testsr markxfailr parametrizer r r r r