/usr/lib/python2.6/site-packages/keystoneauth1/tests/unit/loading
NameSizeModeActions
test_cli.py73530644editdlrm
test_cli.pyc83370644editdlrm
test_conf.py79220644editdlrm
test_conf.pyc73120644editdlrm
test_generic.py20070644editdlrm
test_generic.pyc20400644editdlrm
test_loading.py16390644editdlrm
test_loading.pyc18860644editdlrm
test_session.py35720644editdlrm
test_session.pyc55080644editdlrm
test_v3.py24330644editdlrm
test_v3.pyc25480644editdlrm
utils.py29310644editdlrm
utils.pyc57060644editdlrm
__init__.py00644editdlrm
__init__.pyc1670644editdlrm
Edit: /usr/lib/python2.6/site-packages/keystoneauth1/tests/unit/loading/test_conf.pyc (7312B)
Ñò DVc @sºddkZddkZddklZddklZddkZddklZddkl Z ddk l Z ddk l Z ddk lZd „Zd eifd „ƒYZdS( iÿÿÿÿN(tcfg(tfixture(t exceptions(tloading(tv2(tv3(tutilscCs%g}|D]}||iƒq ~S(N(t _to_oslo_opt(toptst_[1]to((sQ/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/tests/unit/loading/test_conf.pyt to_oslo_optsst ConfTestscBs’eZd„Zd„Zd„Zd„Zd„Zeidƒd„ƒZ e i ƒd„ƒZ e i ƒd„ƒZ d „Zd „Zd „ZRS( cCsKtt|ƒiƒ|itiƒƒ|_ti|ii d|i ƒdS(Ntgroup( tsuperR tsetUpt useFixturetconfigtConfigt conf_fixtureRtregister_auth_conf_optionstconftGROUP(tself((sQ/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/tests/unit/loading/test_conf.pyR!scCsrtiƒi}tiƒi}tiƒi}tiƒi}tiƒi}tiƒi}|iid|d|iƒti|iid|iƒ|ii t t i ƒi ƒƒd|ƒ|iid|id|d|d|d|d|d|ƒti|ii|iƒ}|i||iƒ|i||iƒ|i||iƒ|i||iƒ|i||iƒdS( Nt auth_sectionR t auth_typetauth_urltusernametpasswordttrust_idt tenant_id(tuuidtuuid4thexRRRRRRt register_optsR RtPasswordt get_optionstV2PASStload_auth_from_conf_optionst assertEqualRRRRR(RtsectionRRRRRta((sQ/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/tests/unit/loading/test_conf.pyttest_loading_v2,s4   cCsitiƒi}tiƒif}tiƒi}tiƒi}tiƒi}tiƒi}|iid|d|iƒti|iid|iƒ|ii t t i ƒi ƒƒd|ƒ|iid|id|d|d|d|d|d|ƒti|ii|iƒ}|i||id iƒ|i||iƒ|i||iƒ|i||iƒdS( NRR RRttokenRt project_idtproject_domain_namei(RR R!RRRRRRR"R RtTokenR$tV3TOKENR&R't auth_methodsR+RR,R-(RR(RR+RR,R-R)((sQ/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/tests/unit/loading/test_conf.pyttest_loading_v3Ms0 ! cCsitiƒi}|iid|d|iƒ|itit i |ii |iƒ}|i ||i ƒdS(NRR (RR R!RRRt assertRaisesRtNoMatchingPluginRR&RR'tname(RRte((sQ/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/tests/unit/loading/test_conf.pyttest_loading_invalid_pluginls    cCs,ti|ii|iƒ}|i|ƒdS(N(RR&RRRt assertIsNone(Rtl((sQ/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/tests/unit/loading/test_conf.pyttest_loading_with_no_dataxs sstevedore.DriverManagercCs¿titiƒƒ|_tiƒi}|iit tiƒi ƒƒd|i ƒ|ii d|d|i |i ti|ii|i ƒ}|i|ƒ|idtid|dtƒdS(NR Rt namespaceR4tinvoke_on_load(Rt MockManagert MockLoadert return_valueRR R!RR"R R$RRt TEST_VALSRR&RtassertTestValstassert_called_once_withtPLUGIN_NAMESPACEtTrue(Rtmt driver_nameR)((sQ/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/tests/unit/loading/test_conf.pyttest_other_params}s     cCsž|iittiƒiƒƒd|iƒti|ii d|iƒ|ii dt i ƒi d|i|iti|ii |iƒ}|i|ƒdS(NR R(RR"R RR=R$RRRRRRR R!R?R&R@(RRDR)((sQ/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/tests/unit/loading/test_conf.pyttest_same_section‘s     cCsÃtiƒi}|iid|d|iƒti|iid|iƒ|ii t t i ƒi ƒƒd|ƒ|iid|dtiƒi|iti|ii|iƒ}|i|ƒdS(NRR R(RR R!RRRRRRR"R RR=R$R?R&R@(RRDR(R)((sQ/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/tests/unit/loading/test_conf.pyttest_diff_section¡s     cs8titidtƒ}‡fd†}|i|ƒdS(Ntpropagate_map_exceptionscs4x-|iƒiƒD]}ˆi|tiƒqWdS(N(tpluginR$tassertIsInstanceRtOpt(tdrivertp(R(sQ/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/tests/unit/loading/test_conf.pytinner¸s(t stevedoretExtensionManagerRRBRCtmap(RtmanagerRO((RsQ/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/tests/unit/loading/test_conf.pyttest_plugins_are_all_opts´s cCsJtiƒ}x!|D]}|i|tiƒqW|idt|ƒƒdS(Ni(Rtget_auth_common_conf_optionsRKRRLR'tlen(RRtopt((sQ/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/tests/unit/loading/test_conf.pyttest_get_common¾s  cCs‰tidƒ}tiƒiƒ}tg}|D]}||iq/~ƒ}tg}|D]}||iqY~ƒ}|i||ƒdS(Nt v2password(Rtget_plugin_optionsRR#R$tsetR4R'(Rt loaded_optst plugin_optsR R t loaded_namest_[2]t plugin_names((sQ/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/tests/unit/loading/test_conf.pyttest_get_namedÄs **(t__name__t __module__RR*R1R6R9tmocktpatchRFRt mock_pluginRGRHRTRXRa(((sQ/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/tests/unit/loading/test_conf.pyR s !   (RRdt oslo_configRRRRPt keystoneauth1RRt'keystoneauth1.loading._plugins.identityRRt keystoneauth1.tests.unit.loadingRR tTestCaseR (((sQ/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/tests/unit/loading/test_conf.pyt s