/usr/lib/python2.6/site-packages/glanceclient/tests/unit/v2
NameSizeModeActions
fixtures.py92710644editdlrm
fixtures.pyc47250644editdlrm
test_client_requests.py25900644editdlrm
test_client_requests.pyc22970644editdlrm
test_images.py403210644editdlrm
test_images.pyc356700644editdlrm
test_members.py36440644editdlrm
test_members.pyc32300644editdlrm
test_metadefs_namespaces.py255750644editdlrm
test_metadefs_namespaces.pyc145630644editdlrm
test_metadefs_objects.py122780644editdlrm
test_metadefs_objects.pyc74580644editdlrm
test_metadefs_properties.py100720644editdlrm
test_metadefs_properties.pyc65570644editdlrm
test_metadefs_resource_types.py72630644editdlrm
test_metadefs_resource_types.pyc50370644editdlrm
test_metadefs_tags.py50120644editdlrm
test_metadefs_tags.pyc47950644editdlrm
test_schemas.py72460644editdlrm
test_schemas.pyc91210644editdlrm
test_shell_v2.py567370644editdlrm
test_shell_v2.pyc502250644editdlrm
test_tags.py23810644editdlrm
test_tags.pyc22740644editdlrm
test_tasks.py113790644editdlrm
test_tasks.pyc97000644editdlrm
test_versions.py24140644editdlrm
test_versions.pyc18170644editdlrm
__init__.py00644editdlrm
__init__.pyc1670644editdlrm
Edit: /usr/lib/python2.6/site-packages/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyc (14563B)
Ñò d?6e6hd@dA6d;d<6dBd'6dCdD6dEd?6e6dF6dGd6gdH6d(ed)6ed*6d+d,6ed-6d.d/6hed86gdI6d0d6d1d26d1d36fd6hh d$d%6d&d'6hd6d'6d7d86d9ed)6gd:6hhd;d<6d=d'6d>d?6e6hd@dA6d;d<6dBd'6dCdD6dEd?6e6dF6dGd6gdH6d(e d)6e d*6d+d,6ed-6d.d/6hed86gdI6d0d6d1d26d1d36fdJ6hhfdK6d(e6hhh d$d%6d&d'6gdH6d(ed)6e d*6d+d,6ed-6d.d/6hed86gdI6d0d6d1d26d1d36fd6dLe ef6ZhhhhedM6hhhd?d<gd:6dNd<6hhdOd<6dP6hdQd<6dR6hdSd<6d'6hdSd<6d?6hdT6hdUdV6dW6hdXdV6d:6hdYd<6dD6hdUdV6dZ6hdOd<6d[6hdYd<6dA6hd\dV6d]6hd\dV6d^6hedT6dOd<6d_6hdSd<6d`da6db6hdNd<6hhdQd<6dR6hdQdOd;dYdNdSdcgdR6dSd<6d<6dF6dd6hdQdOd;dYdNdSdcgdR6dSd<6d<6dF6dM6dNd<6de6hhd\dV6hdfdT6gdg6dh6hed_6hdSd<6dd6dQd<6di6hdfdA6d;d<6dj6dk6d*gd:6d*d86h hdSd<6dld'6dmd^6d'6hdSd<6dnd'6doda6d36hd+dpgdR6dSd<6dqd'6d,6hdSd<6d)6hhdNd<6hhdrdV6dF6hdXdV6d:6hdSd<6d86hdSd<6d'6dF6dd6dQd<6dH6hdSd<6dsd'6dtd^6d/6hhdNd<6hhdSd<6du6hdSd<6d86hdSd<6dv6dF6dd6dQd<6dI6hdrdV6dF6hdSd<6dwd'6dxd^6d%6hdSd<6dyd'6doda6d26hdSd<6dzd'6dxd^6d*6hdOd<6d{d'6d-6hdSd<6d6dF6fd6d|6Zd}eifd~„ƒYZdS(iÿÿÿÿN(tutils(tmetadefst Namespace1t Namespace2t Namespace3t Namespace4t Namespace5t Namespace6t Namespace7t Namespace8t NamespaceNewt ResourceType1t ResourceType2tObject1t Property1t Property2cKsrh dd6dd6d|d6|d6dd 6td 6d d 6h|d 6gd6dd6dd6dd6}|i|ƒ|S(Ns Flavor Quotat display_namet DESCRIPTION1t descriptions/v2/metadefs/namespaces/%stselft namespacetpublict visibilityt protectedtadmintownertnametresource_typess/v2/schemas/metadefs/namespacetschemas2014-08-14T09:07:06Zt created_att updated_at(tTruetupdate(tns_nametrt_nametkwargstns((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyt_get_namespace_fixture%s   s /v2/metadefs/namespaces?limit=20tfirstt namespacess/v2/schemas/metadefs/namespacesRtGETs/v2/metadefs/namespaces?limit=1s)/v2/metadefs/namespaces?marker=%s&limit=1tnexts/v2/metadefs/namespaces?limit=2s)/v2/metadefs/namespaces?limit=1&marker=%ss)/v2/metadefs/namespaces?limit=2&marker=%ss-/v2/metadefs/namespaces?limit=20&sort_dir=ascs4/v2/metadefs/namespaces?limit=20&sort_key=created_ats2/v2/metadefs/namespaces?limit=20&resource_types=%ss8/v2/metadefs/namespaces?limit=20&resource_types=%s%%2C%ss3/v2/metadefs/namespaces?limit=20&visibility=privates Flavor QuotaRRRs/v2/metadefs/namespaces/%sRRRRRRRs/v2/schemas/metadefs/namespaces2014-08-14T09:07:06ZRRtPOSTs/v2/metadefs/namespacest DESCRIPTION2tOBJECT1Rs#/v2/metadefs/namespaces/%s/objects/trequiredtintegerttypet DESCRIPTION3sQuota: CPU Sharesttitleiètminimumt DESCRIPTION4i@BtmaximumsQuota: CPU Periodt propertiess/v2/schemas/metadefs/objecttobjectsRtPUTtDELETEs+/v2/metadefs/namespaces/%s?resource_type=%stadditionalPropertiestobjecttbooleantadditionalItemstarraytenumtstringtdefaults%#/definitions/positiveIntegerDefault0s$reft minLengths#/definitions/stringArraytnumbertminItemstreadonlys#/definitions/positiveIntegertmaxItemst maxLengtht uniqueItemstregextformattpatterntnulltitemstpropertyitallOftpositiveIntegerDefault0t stringArraytpositiveIntegert definitionss6Provides a user friendly description of the namespace.iôs<Date and time of the last namespace modification (READ-ONLY)s date-timetprivates!Scope of namespace accessibility.s#/definitions/propertysOwner of the namespace.iÿtprefixt metadata_typesBThe user friendly name for the namespace. Used by UI if available.iPs/Date and time of namespace creation (READ-ONLY)sThe unique namespace text.s)If true, namespace will not be deletable.smetadefs/namespacetTestNamespaceControllercBsÅeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z d „Z d „Z d „Z d „Zd „Zd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsVtt|ƒiƒtitƒ|_titƒ|_ t i |i|i ƒ|_ dS(N( tsuperRVtsetUpRtFakeAPIt data_fixturestapit FakeSchemaAPItschema_fixturest schema_apiRtNamespaceControllert controller(R((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyRXs  cCs_t|iiƒƒ}|idt|ƒƒ|it|ddƒ|it|ddƒdS(NiiRi(tlistR`t assertEqualtlent NAMESPACE1t NAMESPACE2(RR'((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyttest_list_namespaces#scCset|iiddƒƒ}|idt|ƒƒ|it|ddƒ|it|ddƒdS(Nt page_sizeiiiR(RaR`RbRct NAMESPACE7t NAMESPACE8(RR'((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyttest_list_namespaces_paginate*scCskt|iiddddƒƒ}|idt|ƒƒ|it|ddƒ|it|ddƒdS(NRgitlimitiiR(RaR`RbRcRhRi(RR'((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyt+test_list_with_limit_greater_than_page_size1s!cCskt|iidtddƒƒ}|idt|ƒƒ|it|ddƒ|it|ddƒdS(NtmarkerRgiiRi(RaR`t NAMESPACE6RbRcRhRi(RR'((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyttest_list_with_marker7s!cCsSt|iiddddƒƒ}|idt|ƒƒ|it|ddƒdS(Ntsort_dirtascRkiiR(RaR`RbRcRd(RR'((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyttest_list_with_sort_dir=s!cCs,|iiddƒ}|itt|ƒdS(NRptfoo(R`Rat assertRaisest ValueErrorR)(Rt ns_iterator((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyttest_list_with_sort_dir_invalidBscCsSt|iiddddƒƒ}|idt|ƒƒ|it|ddƒdS(Ntsort_keyRRkiiR(RaR`RbRcRd(RR'((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyttest_list_with_sort_keyHs!cCs,|iiddƒ}|itt|ƒdS(NRxRs(R`RaRtRuR)(RRv((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyttest_list_with_sort_key_invalidMscCsWt|iidhtgd6ƒƒ}|idt|ƒƒ|it|ddƒdS(NtfiltersRiiR(RaR`tRESOURCE_TYPE1RbRct NAMESPACE3(RR'((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyt2test_list_namespaces_with_one_resource_type_filterSs cCsZt|iidhttgd6ƒƒ}|idt|ƒƒ|it|ddƒdS(NR{RiiR(RaR`R|tRESOURCE_TYPE2RbRct NAMESPACE4(RR'((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyt8test_list_namespaces_with_multiple_resource_types_filter]s cCsTt|iidhdd6ƒƒ}|idt|ƒƒ|it|ddƒdS(NR{RSRiiR(RaR`RbRct NAMESPACE5(RR'((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyt+test_list_namespaces_with_visibility_filtergs cCs9|iitƒ}|it|iƒ|i|iƒdS(N(R`tgetRdRbRt assertTrueR(RR((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyttest_get_namespaceqscCs?|iitdtƒ}|it|iƒ|i|iƒdS(Nt resource_type(R`R„RnR|RbRR…R(RR((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyt%test_get_namespace_with_resource_typevs cCsFhtd6}|ii|}|it|iƒ|i|iƒdS(NR(t NAMESPACENEWR`tcreateRbRR…R(RR5R((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyttest_create_namespace|s  cCs#h}|it|ii|dS(N(Rtt TypeErrorR`RŠ(RR5((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyt"test_create_namespace_invalid_data…scCs1hdd6dd6}|it|ii|dS(Nt NewNamespaceRt123R(RtRŒR`RŠ(RR5((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyt&test_create_namespace_invalid_propertyŠscCs9hdd6}|iit|}|it|iƒdS(NsMy Updated NameR(R`R RdRbR(RR5R((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyttest_update_namespaces cCs-hdd6}|it|iit|dS(NRR(RtRŒR`R Rd(RR5((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyt&test_update_namespace_invalid_property•s cCskhdd6}|iit||ii}ddddg}x&|ddD]}|i||ƒqMWdS( NsMy Updated NameRRRRRii(R`R RdR[tcallst assertNotIn(RR5tactualt_disallowed_fieldstkey((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyt'test_update_namespace_disallowed_fields›s  cCsC|iitƒddthdfg}|i||iiƒdS(NR8s/v2/metadefs/namespaces/%s(R`tdeleteRdtNoneRbR[R“(Rtexpect((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyttest_delete_namespace£s  (t__name__t __module__RXRfRjRlRoRrRwRyRzR~RRƒR†RˆR‹RRR‘R’R˜Rœ(((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyRVs*                (t testtoolstglanceclient.testsRtglanceclient.v2RRdReR}R€R‚RnRhRiR‰R|RR,t PROPERTY1t PROPERTY2R%RRZtFalseR]tTestCaseRV(((s`/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/tests/unit/v2/test_metadefs_namespaces.pyts|