
    XV.jZ                         d dl Zd dlmc mZ 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y)	    N)Faker)DEFAULT_LOCALEsessionT)scopeautousec                 h    d| j                   v r| j                  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     ]C:\xampp\htdocs\tradingbinance\backend\.venv\Lib\site-packages\faker\contrib\pytest\plugin.py_session_fakerr   	   s6     !5!55(()?@ !    c                 "   d| j                   v r| j                  d      }t        |      }n| j                  d      }t        }d| j                   v r| j                  d      }|j	                  |       |j
                  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F#&&'78Dw+++&&|4D!KKKr   )builtins@py_builtins_pytest.assertion.rewrite	assertionrewrite
@pytest_arpytestr   r   faker.configr   r   fixturer    r   r   <module>r&      sU        ' i.
  /
   r   