/usr/lib/python2.6/site-packages/keystoneauth1/tests/unit
NameSizeModeActions
access/-0755rm
data/-0755rm
extras/-0755rm
identity/-0755rm
loading/-0755rm
client_fixtures.py49260644editdlrm
client_fixtures.pyc34730644editdlrm
k2k_fixtures.py54540644editdlrm
k2k_fixtures.pyc48780644editdlrm
keystoneauth_fixtures.py23600644editdlrm
keystoneauth_fixtures.pyc22390644editdlrm
matchers.py31650644editdlrm
matchers.pyc39060644editdlrm
oidc_fixtures.py16900644editdlrm
oidc_fixtures.pyc11390644editdlrm
test_betamax_fixture.py21930644editdlrm
test_betamax_fixture.pyc26040644editdlrm
test_discovery.py77450644editdlrm
test_discovery.pyc67150644editdlrm
test_fixtures.py107190644editdlrm
test_fixtures.pyc94260644editdlrm
test_hacking_checks.py17440644editdlrm
test_hacking_checks.pyc20340644editdlrm
test_matchers.py19020644editdlrm
test_matchers.pyc16580644editdlrm
test_session.py302600644editdlrm
test_session.pyc322580644editdlrm
test_token_endpoint.py23370644editdlrm
test_token_endpoint.pyc30200644editdlrm
test_utils.py7910644editdlrm
test_utils.pyc7910644editdlrm
utils.py49500644editdlrm
utils.pyc62150644editdlrm
__init__.py00644editdlrm
__init__.pyc1590644editdlrm
Edit: /usr/lib/python2.6/site-packages/keystoneauth1/tests/unit/matchers.pyc (3906B)
Ñò 7 Wc@sSddklZddklZdefd„ƒYZdeifd„ƒYZdS(iÿÿÿÿ(tetree(tmatcherst XMLEqualscBs)eZdZd„Zd„Zd„ZRS(sEParses two XML documents from strings and compares the results. cCs ||_dS(N(texpected(tselfR((sH/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/tests/unit/matchers.pyt__init__scCsd|ii|ifS(Ns%s(%r)(t __class__t__name__R(R((sH/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/tests/unit/matchers.pyt__str__scsy‡fd†‰tidtƒ}ti|iiƒ|ƒ}ti|iƒ|ƒ}ˆ||ƒodSt|i|ƒS(Ncs¨|i|ijotS|i|ijotSd„}||ƒ}||ƒ}t|ƒt|ƒjotSx2t||ƒD]!\}}ˆ||ƒptSqWtS(sTests whether two XML documents are equivalent. This is a recursive algorithm that operates on each element in the hierarchy. Siblings are sorted before being checked to account for two semantically equivalent documents where siblings appear in different document order. The sorting algorithm is a little weak in that it could fail for documents where siblings at a given level are the same, but have different children. cSst|iƒdd„ƒS(NtkeycSs|iS((ttag(tel((sH/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/tests/unit/matchers.pyt3s(tsortedt getchildren(tdoc((sH/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/tests/unit/matchers.pyt_sorted_children2s(R tFalsetattribtlentziptTrue(t expected_doct observed_docRtexpected_childrentobserved_childrent expected_elt observed_el(txml_element_equals(sH/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/tests/unit/matchers.pyRs       tremove_blank_text(Rt XMLParserRt fromstringRtstript XMLMismatch(RtothertparserRR((RsH/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/tests/unit/matchers.pytmatchs#(Rt __module__t__doc__RRR$(((sH/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/tests/unit/matchers.pyRs  R!cBseZd„Zd„ZRS(cCs||_||_dS(N(RR"(RRR"((sH/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/tests/unit/matchers.pyRNs cCs)d„}d||iƒ||iƒfS(NcSsLtidtƒ}ti|iƒ|ƒ}ti|dddtƒidƒS(NRtencodingsutf-8t pretty_print(RRRRR ttostringtdecode(txmlR#R((sH/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/tests/unit/matchers.pyt pretty_xmlSssexpected = %s actual = %s(RR"(RR,((sH/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/tests/unit/matchers.pytdescribeRs (RR%RR-(((sH/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/tests/unit/matchers.pyR!Ls N(tlxmlRt testtoolsRtobjectRtMismatchR!(((sH/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/tests/unit/matchers.pyts9