• File: pytestplugin.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pyc
  • Date Modified: 08/05/2019 10:14 AM
  • File size: 8.56 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit

4]c@s=yddlZWn!ek
r3ddlmZnXddlZddlZddlZddlZddlZyddl	Z	e
ZWnek
reZnXdZ
dZdZdZerddlZdZd	Znd
ZdZdadZd
ZdZdZdZdZdS(iNi(tplugin_basecs9|jdfd}tj|tjdS(Nt
sqlalchemycs|jddrDdtjffdY|d<n|jddrdtjffdY|d<nj||dS(NtcallbacktCallableActioncseZdfdZRS(cs|||dS(N((tselftparsert	namespacetvaluest
option_string(t	callback_(sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pyt__call__ sN(t__name__t
__module__tNoneR
((R	(sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pyRstactiontzeroarg_callbackcs2eZeedfdZdfdZRS(csAt|jd|d|dddtd|d|d|dS(	Ntoption_stringstdesttnargsitconsttdefaulttrequiredthelp(tsupert__init__tTrue(RRRRRR(R(sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pyR+scs|||dS(N((RRRRR(R(sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pyR
=sN(RRtFalseR
RR
((RR(sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pyR*s
(tpopR
targparsetActiont	addoption(tnametkw(tgroup(RR	RsY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pytmake_options
"
(tgetgroupRt
setup_optionstread_config(RR"((R!sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pytpytest_addoptions+
cCstjdt|drCtj|jtj|jdn:|jjr}t	j
j|jjr}t	j|jjntj
|jtjtt|jdttjtjjdS(Nssqlalchemy.testing.assertionst
slaveinputtfollower_identt
cov_source(tpytesttregister_assert_rewritethasattrRt!restore_important_follower_configR'tconfigure_followertoptiontwrite_identstostpathtexiststremovet	pre_begintset_coverage_flagtbooltgetattrRt
set_skip_testtskipt	Exception(tconfig((sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pytpytest_configureJs
cCstjdS(N(Rt
post_begin(tsession((sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pytpytest_sessionstart_scCstjdS(N(Rtfinal_process_cleanup(R?((sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pytpytest_sessionfinishcscCsYtj|jdtjjdd!|jd<ddlm}|j|jddS(Nstest_%siiR(i(t	provision(	Rt!memoize_important_follower_configR'tuuidtuuid4thextsqlalchemy.testingRCtcreate_follower_db(tnodeRC((sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pytpytest_configure_nodejs!cCs(ddlm}|j|jddS(Ni(RCR((RHRCtdrop_follower_dbR'(RJterrorRC((sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pytpytest_testnodedownuscCstjd}g|D]:}t|jtjr|jjjjdr|^q|(td|D}x|D]}xt	j
|j|jjD]}||jk	r||j}xZtj
|jd|jjjD]1}	x(|	jD]}
||
jj|
qWqWqqWqwWg}xN|D]F}|jj|krf|j||jj|jq-|j|q-Wt|dd|(dS(NcSs
tjtS(N(tcollectionstdefaultdicttlist(((sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pyt<lambda>tt_css|]}|jVqdS(N(tparent(t.0titem((sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pys	<genexpr>sRUtkeycSs%|jjjj|jjj|jfS(N(RUR(RW((sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pyRRs(RORPt
isinstanceRUR*tInstanceRt
startswithtsetRtgenerate_sub_teststclstmoduletClassRtcollecttappendtextendtsorted(R?R<titemst
rebuilt_itemsRWttest_classest
test_classtsub_clstper_cls_dicttinsttttnewitems((sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pytpytest_collection_modifyitems{s0
&
	
	"'
!cCstj|r1tj|r1tj|d|Stj|rzt|tjrztj	|j
|rztj|d|SgSdS(NRU(tinspecttisclassRt
want_classR*R`t
isfunctionRYRZtwant_methodR^tFunction(t	collectorRtobj((sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pytpytest_pycollect_makeitemscsqttjsdStdkrctjjjjafd}jjj|ntdS(NcstjjdadS(N(tclass_teardownRUR
t_current_class((RW(sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pytfinalizes(	RYR*RtRyR
tclass_setupRUtaddfinalizert
test_setup(RWRz((RWsY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pytpytest_runtest_setupscCst|dS(N(t
test_teardown(RW((sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pytpytest_runtest_teardownscCs,tj||jjj|jj|jdS(N(Rtbefore_testRUR_RR^R(RW((sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pyR}scCstj|dS(N(Rt
after_test(RW((sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pyRscCstj|jdS(N(Rtstart_test_classR^(RW((sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pyR{scCstj|jdS(N(Rtstop_test_classR^(RW((sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pyRxs(tsqla_plugin_baseRtImportErrorRSRRORoR1R*txdistRt	has_xdistRR&R=R@RBRERKRNRnRwR
RyR~RR}RR{Rx(((sY/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/plugin/pytestplugin.pyt<module>s<



	2					6