PK!jpytest_mimesis.py# -*- coding: utf-8 -*- import pytest from mimesis.locales import DEFAULT_LOCALE from mimesis.schema import Field @pytest.fixture(scope='session') # noqa: PT005 def _mimesis_cache(): cached_instances = {} def factory(locale): if locale not in cached_instances: cached_instances[locale] = Field(locale) return cached_instances[locale] return factory @pytest.fixture() def mimesis_locale(): """Specifies which locale to use.""" return DEFAULT_LOCALE @pytest.fixture() def mimesis(_mimesis_cache, mimesis_locale): """Mimesis fixture to provide fake data using all built-in providers.""" return _mimesis_cache(mimesis_locale) PK!Hr#/pytest_mimesis-1.0.1.dist-info/entry_points.txt.,I-.14M-,C\\PK!FF&pytest_mimesis-1.0.1.dist-info/LICENSEMIT License Copyright (c) 2017 Kevin Schellenberg & Líkið Geimfari Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. PK!HڽTU$pytest_mimesis-1.0.1.dist-info/WHEEL A н#Z;/"d&F[xzw@Zpy3Fv]\fi4WZ^EgM_-]#0(q7PK!HIå 'pytest_mimesis-1.0.1.dist-info/METADATAV]o6}篸Cl~ek&[4+t} e]M{x8tGB^/50uh]T lx榩*n>tvai# l[[bbа?tQKtioqZ:9%rTv}ebѦ)iEr\cN| Ӧ @5nM b%=+.$L*}AΣ-(%L~3ɭ =QBqXHS"ht>W ]*o엔jU`B`T=l6յkښD-p W\ cU)]T|aWo㧇rm;ƾ*/BU&/ :~9as}t'IסFԾљ5rm[S:U7b!QQ.bmʧv]:7\ӊ[flbC] )k%(.B's^`o> ?OiN{ES1ؽz|4r(7"036ۥ)XhuNq-pUr+象b1 Hq@/~)mØFTQیeY64浨IЃU 6U-zHkE1a7>4; fd6J,[ \KAYqX')A ?(S 0(EAk4رς'~\S,%0q:աY4ndґ1֧TS{5)tSЬSǣ6¨7h*Og| ag Pt{H9Ηǣ ̥'\]_ߜOPK!Ha +%pytest_mimesis-1.0.1.dist-info/RECORDλv04d`%r@QŃ5{O߉/3p%aI {UKOQՐہm]ƿg0Ӧݻ 'Ge Ht֟pjjZq&Ow<Ԥoםe¼{QsYOxq-vm@+ߥZxv_#H{Js#ZW'E&ϋ,Kt?C0f}.e4:jt`Q/Vq=W/9W)PK!jpytest_mimesis.pyPK!Hr#/pytest_mimesis-1.0.1.dist-info/entry_points.txtPK!FF&Gpytest_mimesis-1.0.1.dist-info/LICENSEPK!HڽTU$pytest_mimesis-1.0.1.dist-info/WHEELPK!HIå 'gpytest_mimesis-1.0.1.dist-info/METADATAPK!Ha +%Q pytest_mimesis-1.0.1.dist-info/RECORDPK