
    kiZ                         d dl Z d dlmZ d dlmZ d Z e j        dd          d             Z e j                    d             ZdS )	    N)Faker)DEFAULT_LOCALEsessionT)scopeautousec                 p    d| j         v r|                     d          }nt          g}t          |          S )zFixture that stores the session level ``Faker`` instance.

    This fixture is internal and is only meant for use within the project.
    Third parties should instead use the ``faker`` fixture for their tests.
    faker_session_localelocale)fixturenamesgetfixturevaluer   r   )requestr   s     k/var/www/html/Pagina-Ingenieria-Requisitos/venv/lib/python3.11/site-packages/faker/contrib/pytest/plugin.py_session_fakerr   	   sA     !555(()?@@ !    c                 6   d| j         v r&|                     d          }t          |          }n|                     d          }t          }d| j         v r|                     d          }|                    |           |j                                         |S )z>Fixture that returns a seeded and suitable ``Faker`` instance.faker_localer
   r   
faker_seed)seed)r   r   r   DEFAULT_SEEDseed_instanceuniqueclear)r   r   faker   s       r   fakerr      s     ---((88F###&&'788Dw+++&&|44D!!!KKr   )pytestr   r   faker.configr   r   fixturer    r   r   <module>r       s           ' ' ' ' ' ' i...
  
  /.
      r   