Files
Home-AssistantConfig/deps/sqlalchemy/testing/plugin/__pycache__/pytestplugin.cpython-34.pyc

36 lines
5.6 KiB
Plaintext
Raw Normal View History

2016-10-11 16:42:06 +00:00
<EFBFBD>
}<7D><>W<00>@s]yddlZWn"ek
r4ddlmZYnXddlZddlZddlZddlZddlZyddl Z dZ
Wnek
r<>dZ
YnXdd<00>Z dd <00>Z d
d <00>Z e
r<>ddlZd d <00>Zdd<00>Zndd<00>Zdd<00>Zdadd<00>Zdd<00>Zdd<00>Zdd<00>Zdd<00>Zdd<00>ZdS) <20>N<>)<01> plugin_baseTFcs<|jd<00><00><00>fdd<00>}tj|<00>tj<00>dS)NZ
sqlalchemycsX|jdd<00><00><00>rDG<>fdd<00>dtj<00>}||d<n<00>j||<00>dS)N<>callbackcs%eZdZd<00>fdd<00>ZdS)z=pytest_addoption.<locals>.make_option.<locals>.CallableActionNcs<00>|||<00>dS)N<>)<05>self<6C>parser<65> namespace<63>valuesZ option_string)<01> callback_r<00>L/tmp/pip-build-zkr322cu/sqlalchemy/sqlalchemy/testing/plugin/pytestplugin.py<70>__call__szFpytest_addoption.<locals>.make_option.<locals>.CallableAction.__call__)<04>__name__<5F>
__module__<EFBFBD> __qualname__r r)r
rr <00>CallableActions r<00>action)<04>pop<6F>argparseZActionZ addoption)<03>name<6D>kwr)<01>group)r
r <00> make_options
 z%pytest_addoption.<locals>.make_option)ZgetgrouprZ setup_optionsZ read_config)rrr)rr <00>pytest_addoptions rc Cs<>t|d<00>r{tj|j<00>tj|jd<19>|jjr<>t|jjd<00><00>}|j|jdd<17>WdQXq<58>n:|jjr<>t j
j |jj<00>r<>t j |jj<00>ntj |j<00>tjtt|jdd<00><00><00>tjtjj<00>dS)N<>
slaveinput<EFBFBD>follower_ident<6E>a<>
Z
cov_sourceF)<15>hasattrrZ!restore_important_follower_configrZconfigure_follower<65>optionZ write_idents<74>open<65>write<74>os<6F>path<74>exists<74>removeZ pre_beginZset_coverage_flag<61>bool<6F>getattrZ set_skip_test<73>pytest<73>skip<69> Exception)<02>configZfile_rrr <00>pytest_configure's $ r+cCstj<00>dS)N)rZ
post_begin)<01>sessionrrr <00>pytest_sessionstart>sr-cCs\tj|j<00>dtj<00>jdd<00>|jd<ddlm}|j|jd<19>dS)Nztest_%sr<00> r)<01> provision) rZ!memoize_important_follower_configr<00>uuid<69>uuid4<64>hex<65>sqlalchemy.testingr/Zcreate_follower_db)<02>noder/rrr <00>pytest_configure_nodeDs$r5cCs(ddlm}|j|jd<19>dS)Nr)r/r)r3r/Zdrop_follower_dbr)r4<00>errorr/rrr <00>pytest_testnodedownNsr7c Csmtjt<00>}dd<00>|D<>|dd<00><tdd<00>|D<><00>}x<>|D]<5D>}x<>tj|j|jj<00>D]g}||jk rn||j}xBt j
|j d|jj<00>j <00>D]}|j |j <00><00>q<>WqnqnWqLWg} xa|D]Y}
|
jj|kr6| j ||
jj<19>g||
jjdd<00><q<>| j|
<00>q<>Wt| ddd<00><00>|dd<00><dS) NcSsDg|]:}t|jtj<00>r|jjjjd<00> r|<00>qS)<01>_)<06>
isinstance<EFBFBD>parentr'<00>Instancer<00>
startswith)<02>.0<EFBFBD>itemrrr <00>
<listcomp>`s z1pytest_collection_modifyitems.<locals>.<listcomp>css|]}|jVqdS)N)r:)r=r>rrr <00> <genexpr>csz0pytest_collection_modifyitems.<locals>.<genexpr>r:<00>keycSs%|jjjj|jjj|jfS)N)r:r)r>rrr <00><lambda>ys z/pytest_collection_modifyitems.<locals>.<lambda>)<10> collections<6E> defaultdict<63>list<73>setrZgenerate_sub_tests<74>clsr:<00>moduler'<00>Classr Zcollect<63>extend<6E>append<6E>sorted) r,r*<00>itemsZ rebuilt_itemsZ test_classesZ
test_classZsub_clsZlist_<74>instZnewitemsr>rrr <00>pytest_collection_modifyitemsSs&     (" rOcCs<>tj|<00>r1tj|<00>r1tj|d|<00>Stj|<00>rzt|tj<00>rztj |j
|<00>rztj |d|<00>SgSdS)Nr:) <0C>inspectZisclassrZ
want_classr'rIZ
isfunctionr9r;Z want_methodrG<00>Function)Z collectorr<00>objrrr <00>pytest_pycollect_makeitem<65>srScstt<00>tj<00>sdStdkrft<00>jj<00><01>jja<00>fdd<00>}<00>jjj|<00>nt<00><00>dS)Ncst<00>jj<00>dadS)N)<03>class_teardownr:<00>_current_classr)r>rr <00>finalize<7A>sz&pytest_runtest_setup.<locals>.finalize)r9r'rQrU<00> class_setupr:Z addfinalizer<65>
test_setup)r>rVr)r>r <00>pytest_runtest_setup<75>s  rYcCst|<00>dS)N)<01> test_teardown)r>rrr <00>pytest_runtest_teardown<77>sr[cCs,tj||jjj|jj|j<00>dS)N)rZ before_testr:rHr rGr)r>rrr rX<00>srXcCstj|<00>dS)N)rZ
after_test)r>rrr rZ<00>srZcCstj|j<00>dS)N)rZstart_test_classrG)r>rrr rW<00>srWcCstj|j<00>dS)N)rZstop_test_classrG)r>rrr rT<00>srT)Zsqla_plugin_baser<00> ImportError<6F>r'rrPrCr!ZxdistZ has_xdistrr+r-r0r5r7rOrSrUrYr[rXrZrWrTrrrr <00><module>s:       
      
 -