@pytest.fixture(scope='module')
def static_file_path(static_file_directory):
 return os.path.join(static_file_directory, 'test.file')

@ pytest . fixture ( scope = 'module' ) def static_file_path ( static_file_directory ) : return os . path . join ( static_file_directory , 'test.file' )
the path to the static file that we want to serve .