diff --git a/sdk/storage/azure-storage-queue/tests/recordings/test_queue_async.test_list_queues.yaml b/sdk/storage/azure-storage-queue/tests/recordings/test_queue_async.test_list_queues.yaml new file mode 100644 index 000000000000..49467f2c24df --- /dev/null +++ b/sdk/storage/azure-storage-queue/tests/recordings/test_queue_async.test_list_queues.yaml @@ -0,0 +1,44 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + User-Agent: + - azsdk-python-storage-queue/12.0.0b1 Python/3.6.3 (Windows-10-10.0.18362-SP0) + content-type: + - application/xml; charset=utf-8 + x-ms-client-request-id: + - 39f846f4-b2ef-11e9-966b-1831bf6ae40e + x-ms-date: + - Tue, 30 Jul 2019 17:26:55 GMT + x-ms-version: + - '2018-03-28' + method: GET + uri: https://storagename.queue.core.windows.net/?comp=list + response: + body: + string: "\uFEFFcont079e53b6285d462b80b03b642545c8cecont189cce925f2b4bb486c0723a407941cacont270f85ade4ef4fc085727f90367b3c18cont2a13557b64914cf39299097cc1b22ed4cont3b59e2e7def04258824d6de7c802b056cont483db24a585b4602a62ba5f57c045093cont69af6d7f103c4d7b9b08abca4a760fd0cont7783e8311e224b03a658d6a35281a381cont86a3e2a1523443e392221f578ee21793contc9644de2738c476d9b80652d722a2d93conte753f547f8954cdaaaef56fcedb753ddconte7e0b2cd8aec4e828aa9f14afbda798bcontea4add581ae746f69ed0f72f8842631eencryptionqueue0097120ed98c4ab897ab5b43e078ff6aencryptionqueue016f931800f2406d9f25b54df61e5565encryptionqueue02730e3442564930bf34778fbd48d093encryptionqueue0372ba6784084ba58e90d56221a93e0fencryptionqueue042c5d6cead5458da955da1c5d79af86encryptionqueue042d7ab9f40d4b25bca7ad3ccaa64904encryptionqueue084d041c53a54e9084c5dbc97919de94encryptionqueue08cd92e2ea324d648d27bd90e0a2033dencryptionqueue08d8c139169447468949bdbf635a844fencryptionqueue0a8af1a82ec845149071171889f54ba6encryptionqueue0b0c49d937714cf3aeef9c2cdb3912eaencryptionqueue0b77d1f773dd4d7694dfb5f0e5a492b1encryptionqueue0c38d2a5f8ac4f1890705f2c6afe101eencryptionqueue0c54480c9ca6490b9b572e1cb10df446encryptionqueue0e7203c6d1f34819a46a88cae17dca38encryptionqueue0f6e2077abba4ed29cdef11318405f95encryptionqueue100cefda5d8f49528deec587851311b5encryptionqueue104f00a86dfc4c7dbe572c094b2661c0encryptionqueue1090ce1d93f04f6d85e3d4b688ee1e98encryptionqueue12a82a4271fa411581d74ef5ccc48950encryptionqueue16d5e20f58064a4fbde1e59bf717b443encryptionqueue17c36c0abbce4861bf03e9a481b1c12bencryptionqueue1a0f06c3e1c24961b9cac3e5102d55fbencryptionqueue1af22c2e37424f0cb3f4328677f8857eencryptionqueue1b6e45f94e4e4dceb8e5facda49c1d52encryptionqueue1ca72fd152ce4f3e81a4f226b027ab76encryptionqueue1cfb9275c8694e35998e66fca7da24e6encryptionqueue1d2ffe8663cc4b97a36b6e23ce20c6efencryptionqueue1d30b3d8d40649309819810c62b41d78encryptionqueue21938f5cb8a8471f880a2075d70ae1d6encryptionqueue229bd430a4b44bd4aa772f986066559eencryptionqueue26a95595ab264b2898ada5abefb52595encryptionqueue2799a0470dd1437880dc54cf06025377encryptionqueue2900a41e28544c0b86725dd598d95955encryptionqueue2972c516b21e4cd0aabed862f09a47ebencryptionqueue2b1811238dc44cf080f481d8ec68a826encryptionqueue2c58bc2059e94665a2c8afa7407529c9encryptionqueue2dc4bc6cb5a4428499603704eeda993aencryptionqueue2f2d395b74ba4a838473462fcf6f6922encryptionqueue2f714247d5f047c09be8fdafaef6d5c4encryptionqueue2fcef7344a1246809d02b60f1d039261encryptionqueue30e90209e20640ac999c43b8b2d748d6encryptionqueue31920fdafa5b4888972b21ba4e328f1aencryptionqueue3277eb25021146799ff603bd9b3df5b9encryptionqueue346f6f38ac8e4e30ac47844dde558a73encryptionqueue348bfecf0dad46129ecd1707e272709bencryptionqueue34a75cdb25be480e8ac1a31442fd0146encryptionqueue34d386b0ac8444ff92be5970946fd493encryptionqueue366bb78e99ad47ffb77bd270c98f4041encryptionqueue39be41c1f6d3427a822684954cc3db93encryptionqueue3aa5c50ec3b8461ab0a40bee207eb6eeencryptionqueue3b8773119ca24a99880df6bb9c20de0aencryptionqueue3f1145e9a9be423cab5c73b9bd74fe13encryptionqueue40a3e078eda0432dacf8e81f6a058cb8encryptionqueue40a6c172b6b04b8c8e0aa654644bc24cencryptionqueue42a1307c137342bcbd575329d3baf985encryptionqueue42cc363cd2de4df4a51293c82c968494encryptionqueue42e090d9a38f4a4ab6676f3c83c4ce45encryptionqueue43a3cde167144fd8b6e766675c734f6bencryptionqueue43a531e62b634ab4bd70d400bb964317encryptionqueue43bfd7d10982430180bc4a50acc410eaencryptionqueue453b36a7a786488fad7b1f3c1b0d32ffencryptionqueue45dd63ebfba14885931881d7f304c5d8encryptionqueue4b7a63dfa33440768b92d4abe1f6af1fencryptionqueue4c7d4b04f8eb4c90b1dfa3ee5a1fc1c4encryptionqueue4d6b09b0ec434352b977c2e002471506encryptionqueue4ddfb8074fe3410fb000c5f16db13366encryptionqueue4e81724d05be43ac9a06c96930783b62encryptionqueue4f553e48c0cb4ebdbaf53c15d18d0053encryptionqueue501c68c596a247e5a76644e4144587e6encryptionqueue54143dc3ff8843e895ab324e9ff11abbencryptionqueue54485b16c40b4d759bf2c05c8f0a9f67encryptionqueue54779029395a4303af2970d4f9b47e5fencryptionqueue548ac7ba391d40079564aada806782f7encryptionqueue55a1dd25f17f44e99b19827dc46e44fdencryptionqueue55f6d39108404ccbbd21a7a0d922b697encryptionqueue563fd46354b34941b4e953fb0a61da4eencryptionqueue56a3936979574c39be62b5cc5589eb18encryptionqueue575354c26ea843d0850bc55d9e161572encryptionqueue578c7843b1ed4b5093f8b62224aca5c0encryptionqueue57a8960985eb4126b0c1dc1e58992203encryptionqueue58b8dc677a8649da8e8fd31f6d8bd615encryptionqueue5a1d5296c33f499c9d78da514015ac82encryptionqueue5d14f941f9974c1785f46c6f50f7c26cencryptionqueue5d4407051116441c831e8ffd56e6bc50encryptionqueue5ef21f46760b48399ebb7698ca5837fcencryptionqueue5efe7a4d22114c4da80264ac29ead426encryptionqueue6277ea8364e043a6b08deabde442c615encryptionqueue62a53f41aab443f98a072b0d5006fec6encryptionqueue62c0040941e0456d85d859a25a497166encryptionqueue632fd9e53b73412baa17f9061d1cec69encryptionqueue647092dc70bf4cf2b1f24e9ae92cf81fencryptionqueue64bf1697566d48a090b3fbd976a41d13encryptionqueue6840112ff5e8468fbd5b5110910f601dencryptionqueue6ae6bed50bfd48419782bc922d072f5fencryptionqueue6c2b326005104aa1b50bafccbb1a27feencryptionqueue6f2e68232fc040468b036ee14d35b743encryptionqueue6fb8e1ec7e3d4c3e8d973b8c9a7eca32encryptionqueue729fc126bba44466a8a8792164cd9cc5encryptionqueue731453c45d4145e38233d2bc57ec42beencryptionqueue7387f096a56e4b08bfc28fd1b4f1ca9fencryptionqueue73db9ba0d6bc4050ad28ca2826252907encryptionqueue73ea459f720f4779a1aa44684ad4d439encryptionqueue74c27cd56f9b4a54896f3e66f1aba084encryptionqueue75576ffa60e5499484da7e9f8552a28bencryptionqueue7844c5ebb35c4ff5a8a908925ff5b2f6encryptionqueue7a15c02234084348921858a79cf2fb59encryptionqueue7a2fe30b64604ae98117a034072eb6b9encryptionqueue7afea18bed6443f48980e1fe6ab26438encryptionqueue7b094497db4d48f39d6831657db9d700encryptionqueue7b639b8c9fc64d3388d1500bd409abfbencryptionqueue7bb89a64ec5b43ffb98404ee0856fc7eencryptionqueue7c287c2c8b224b90a9b8375b6669f3b1encryptionqueue7eb3f2cccffb449983783b523a54793cencryptionqueue7f52074e87874337855a6a933dd8a9e7encryptionqueue7fa13c40ab884ef49867a67217d3ff44encryptionqueue8113b375e1c04b2488befb80af533364encryptionqueue8282ee8638434433824cfbf6aabd2c1cencryptionqueue84472b92e9b24bc690807909700c046fencryptionqueue84f1a9817f284294b48fec16feb9877eencryptionqueue852991c0af6c4bff98cba25147726206encryptionqueue871b5a2c8cdf449bb9dc1243dc50b83aencryptionqueue890c3286f4a044b5a4db736fd0c74651encryptionqueue8b7230e176e843f382fecf591253f779encryptionqueue8b8a258efc034a7f872045f4c420f84bencryptionqueue8c454d5bdad7473db6b4b974670c6cbeencryptionqueue8ed7dafb9e09414d893170fe3f62f97dencryptionqueue8fa5f7e78d1545df800daa008c8ec4ffencryptionqueue95e33914f60a4b049c6bef1ee383d65eencryptionqueue96124da0010144738bec152eec784ebdencryptionqueue96dded44f2f344789188fa9c3964de11encryptionqueue9719f6cf580242068b12c7e8b660f022encryptionqueue9833cb53913148b2a001452df7582b3cencryptionqueue98ec4d4d4e2240f3a61274ad08ac0bc0encryptionqueue98f22c625f624b72a2f92659b48cd169encryptionqueue991b053961254971b4dd975189f751dbencryptionqueue99b084996b774a7d8d5e28876bc02c2eencryptionqueue9d95735ce2d847e98a95054d9cf3d313encryptionqueue9ddfc660cc324bebba0293710024e72eencryptionqueue9e05eaccf8444710be29e3a123358061encryptionqueue9e1f2ca3d71e4279828ba714f41415d8encryptionqueue9eb22b8388a14b0fad71f195ffc3100aencryptionqueuea094fc7fe61e4757b149cbebb0bd78d0encryptionqueuea09c4705b53c4f58b0393abafdf5a200encryptionqueuea0bcae312ea34c6fa305d62ae8aac550encryptionqueuea1efeef131a145cc8521feabebfcfc5bencryptionqueuea322f5ccc502444ca7063606871b1590encryptionqueuea350c1ca20784ecb9c5bcf131c1a9c8bencryptionqueuea4b2767e118d432f8fad88f19c4561a6encryptionqueuea535995a95e640769918c1e870ebb233encryptionqueuea5c8ec3bec41410385ac6c27271877cbencryptionqueuea8c69b03c1664680b578ba4bf578b208encryptionqueuea900b51280574a0e9b3fe2f6b6cb5222encryptionqueueac79ea38948c4572928c2e1a73d137beencryptionqueueacd7302e730d4824b9e71aa395c6dc93encryptionqueueae725e81989d4b5fa791556de4e7655bencryptionqueueaf127f4aaf7c47af9333f63dd4b0c6a9encryptionqueueaf3e95f0366f4d0fb9b9fbac2fe72c79encryptionqueueafed3761a4f74e22a5f31ce45b786c07encryptionqueueb0131a1971d64828983c8040a13c61e5encryptionqueueb1a90dcee0d149de813ab8dac0b236fcencryptionqueueb1c948cb612c4a858ac7e75eab66fb3bencryptionqueueb3fbcc426aba4a05b8ecdb338cae3ab9encryptionqueueb6094ca059f347439868857ea12535d6encryptionqueueb673014fa4e54f0ba1551c1001a1df42encryptionqueueb6d3a61656854bf5833a8a90a4b905a9encryptionqueueb76ae911f3ff4ec5b27123497942d493encryptionqueueb8ef3a21b53f49af892c74d42ba18b96encryptionqueuebb05e068dd5949bb8e55b9e7755ed4efencryptionqueuebb41a275766e4b60bb2007d8d675ec92encryptionqueuebc2c62bec21f471eb3fae42dfa3e642eencryptionqueuebc30f43cd68346578a3e42d46fd7ec38encryptionqueuebcf4e16d0c954ca2b2cc3780279b57f4encryptionqueuebed6a6c2cc9c46cfa50c10f3183d1a1aencryptionqueuec14f669e1654453f86bd0c076a0cd9feencryptionqueuec16c0d23cedd454892b3c4f76d495908encryptionqueuec16f1bbaa7fc48ceb567bd7b11a2556fencryptionqueuec177ffe3df4c48dbbc749dc4e0973684encryptionqueuec31afa3541c445f4bb777ead59ae790bencryptionqueuec38fe03cedbb411e94b9203b197fb0c6encryptionqueuec3b13da7a37f409e9714a6a4117ec756encryptionqueuec61f6c834ea64f438c5202b974946cf9encryptionqueuec79b3108f23f49e6906d2f760ce2b54eencryptionqueuec89774bd3f5b466e9dceeea90e8e8724encryptionqueuecaebaea357f54a949825a45352ab4a99encryptionqueuecbd50b5188d94b7aa68da1a1ce7ef372encryptionqueued01e401e62144ec8ab904c9a6e3e71bfencryptionqueued1b78feae009454cbac9702948a1e6a1encryptionqueued1e8f34c11964890ac894b6fd8577db7encryptionqueued2d525d0470f4191b1ab3a8ba2909177encryptionqueued4d4d67cfc0448a7a777e886b5d0b3f5encryptionqueued4f0a9fe06ae491f9168838be1f4975aencryptionqueued55aa01a250347ea91d52a5d88b911efencryptionqueued750cbf61ebf434c9601fac592093d06encryptionqueued7fa2d24892f4216837e55d4348c10e6encryptionqueued8dc2f213287470f8761f21dc317cfdaencryptionqueued8fc9376492440a784f3d50a9227822bencryptionqueueda95cb66582c466b90bfb9b337234d8fencryptionqueuedb45a696e5964d93b4cd220fff72e535encryptionqueuedcb9b45ad7e64230aec0ed559481a1eaencryptionqueuedcf328abf4054712ba2ef7c19007c84cencryptionqueuede8196867c49429eaa5460e30b8fffacencryptionqueuedf4de28a5a8f438aad90b9034fb48c6aencryptionqueuee0ddb3fcdbfe4594a3729791b111d642encryptionqueuee0f4d87aaef4424eb900dde7f974c64bencryptionqueuee1c280ce4c7145298c5fbf8126c9b6a8encryptionqueuee1efbf8b5799422aa9996f900071fefbencryptionqueuee5221cea2aaa4043a1f26787a0d82493encryptionqueuee567e008b8034065998e4f31939942b0encryptionqueuee65728e461f14fa795e166269676f1f6encryptionqueuee8c0b76f283545c9be204243a30c706fencryptionqueuee964e4aeae1c4a31ae7dde9e305776cdencryptionqueueeb07e5dbfec649c6a847a094ee810d0eencryptionqueueefea9653fb3141359a3fe65b1deae766encryptionqueuef043e433128a4d289090e16147a9c9e2encryptionqueuef28c24397a584cd8b2cca06eacb4830bencryptionqueuef2921ccedcc842f9a6933898ba54073bencryptionqueuef3312476ff414a4a979a927c8da3b725encryptionqueuef34eeefaa5c14c099bd637bc90fb4ad8encryptionqueuef48cb3e76e204aa9a4480a0f1536a85fencryptionqueuef4afbca3e6394e5c974697bc266516bfencryptionqueuef515fa24ca324570bfc3e75d35edc03eencryptionqueuef586189ff3904f28b26d148c7bb4f90fencryptionqueuefa3b2fdc6f574577963017409efd78e6encryptionqueuefaebb1a83cfc43aebf659f32f2b84e56encryptionqueuefb70345a0b9c4b49b54a4f45f2114b9dencryptionqueuefc17a14f8453407785b99620e28e3dc5encryptionqueuefc900076b063415881f903a569feb4c7encryptionqueuefceeacd2e39f491d9c3fc6bdc04389ccencryptionqueuefd764c95527b4b31a22d608f44e9dbc2encryptionqueueff2895bbc9ba4233ab8c7f2a975393ecencryptionqueueff4e986084c5414fa31c14574dc3cc32encryptionqueueff9f27649b6c462cb05e58b864daa7ebencryptionqueueffda7de0ba364f759c1acbac6454f0d9mytestqueue0219fc1ade71450e92b057fd4d4ab7dcmytestqueue0339d719b4f145f5a73ba4eaf82b701cmytestqueue06a5302794394219b0f8a2e79bdb1277mytestqueue0849bdb669764fef9016346990c5da40mytestqueue094a0e0a97c647f6b115f7fb3350b28emytestqueue09ec318d047a4f649a5bd82d04991922mytestqueue0a44935b057f40fbbba55600ba1488a5mytestqueue0ae5d7edcfd1423b9bf0b7dd28ae0800mytestqueue0d020ce740154cf8bac50f921730cc6dmytestqueue0d53794f763e46af99a48fddebc3181emytestqueue0efc481803a74a27aced4582e4421f52mytestqueue1024fe31a16a47718921d8ee34f80309mytestqueue10737ee4c08c4acaa3f6daf2458872admytestqueue11eaf3f7b5294f5f973a88b02947134cmytestqueue11ebd8d7cf2b460ba5b5cae9cd8e8c1cmytestqueue131627186d43423b973c451c81e3f82dmytestqueue1361a4c512d84131a9da185a7c004598mytestqueue138682ef9eca41129fd2a1ffad2a5ac6mytestqueue13e19fefb06d4c1b84e38b7baaaa7a2fmytestqueue169cf5534c7d4b96babdf8b59df3cd08mytestqueue19af118ef75246dabb54335dfbb69db4mytestqueue1e78a61f11ca49d4a8a1cb4b52703342mytestqueue20bd5e1c8e1248cbacd4fcd79fbb884cmytestqueue20eaa0d617d748df8711d2f114dd769dmytestqueue2156b0495b7244aea5ddb077441b0f50mytestqueue2190160110db4163af59724b048f802cmytestqueue2358d205c86e41b7a3218c413267d7efmytestqueue24b864c4dd8647b7bd63145fc35f4e54mytestqueue27e2f02665cd4207b75f1ab53cd55e0amytestqueue2877c5fa3cb54e4e9bb24de2d49ccfd7mytestqueue28df46199e054f15bdd3d87da84e6a2bmytestqueue28ff9eecf8cd4fbb83822e34ac3f99f0mytestqueue2c6fdace4a064ee3be9430f412945336mytestqueue2ca89fe6da48420dbec6e8a8817506b8mytestqueue2db5240979114e55a33d6e857cb58a99mytestqueue2e59c98dff6548a799123db4647b8061mytestqueue2ff15b302b284d3d87c26c48fbba0abcmytestqueue318bf87352434096b6b1d65ad1387814mytestqueue325802c3978942aa9170214c2de3bc63mytestqueue33dd7f487c454796aed8eb5adbb3e683mytestqueue340b044b833d41ba96b65fecde9d9332mytestqueue34bf34f9e779420e9ffb3d95423cecddmytestqueue388b5c237158440086358774bda7b5d6mytestqueue38a4269fcc4740159f9dc30d6c98c583mytestqueue396a127f476b467ca91c640d3cedb2aamytestqueue39b1e7d68fcc4b76b2f1ebd0b43dd980mytestqueue3a34b2a9126c475e8f0de1c3092e9bb0mytestqueue3a9d911dd0384e2688e4051ba50fa5demytestqueue3cf14dd84ed441a2b80b4d1e38145389mytestqueue3f1c857852744a34a8d1f379069e97c0mytestqueue3f63c50a207a48b797b64dd7c93175fbmytestqueue40d98ea70e1d472bbe03ee42d02d9343mytestqueue42332e736e09463db66e341be1a37b80mytestqueue42ceec4da33b47019af8fac1a4f4bd9bmytestqueue42d5713a7ff34229838ddb4c0a3089eamytestqueue436a8c91544c4700a03c44778a225f88mytestqueue453d1525mytestqueue4644887fc41d48eba076b552355afce7mytestqueue48257081a6534dc082763d081172aef5mytestqueue49935eaea39a42d99c2af13c2b554eadmytestqueue4a4b06eadaca4b66920ecb15a72237aemytestqueue4bfab7b6db924e65afcceb07e3132e4emytestqueue4da3ba550b77418fa88bb240e6f55b43mytestqueue4e4859f39d7b4a7793374854eb9a23c8mytestqueue4e7b4012dca849e6bdd0bf7515bcc4e0mytestqueue5047fa41d2e84dcb84f094abb5646617mytestqueue50868d41427b446083ef108713e9da6cmytestqueue509615f0mytestqueue52c687986c3f49ebacad92814683cc53mytestqueue5367c4aeb1224dcea8570a0f496aee9dmytestqueue54fdb4232e90452c8f2bcde2e86a666cmytestqueue56bbfe8e7b5a43f29c424aa791f1a3c6mytestqueue5892f8983784411abb16402797c8f9c6mytestqueue5894e150241d4036afd116e019cfaa05mytestqueue5a7f7b831b50412796f4cec5b225de60mytestqueue5afaebce92fd438d8955a57aebea95fdmytestqueue5b149d9025cb4ba586c8d423a21f1d44mytestqueue5cc3f3af56ff4ddfbe2509cd46667f9dmytestqueue5d582e575bd9425cad0a068ee180c787mytestqueue61523c5d0b334277a325328ea3b9ba5bmytestqueue6160042bd21043d48a8b1e1ec5d766b0mytestqueue621a15593a554621aee9cc3e5544dfa6mytestqueue6486f7835eb64320a55410d4fea432efmytestqueue658ad421d040451188df576396d4d023mytestqueue659e455dbd7d4d8080ad8a57684894cfmytestqueue6911f73c444a46b7b94fa7c9c221a49fmytestqueue6943c97dbdb349668459771f77902a7cmytestqueue695261e39ff140b799ef6a38fa5014eemytestqueue696d0ceac73f4acdadf9b367853d4cfcmytestqueue6996d04ef45d4106ae09d654cbfd8427mytestqueue6ac45d9688a14a9c82af3da4d3050e3bmytestqueue6efd2c4ccaa440068a44295bdf6af700mytestqueue6f20e40e84d049b989999bd812eaa572mytestqueue70a86c66d369445a8d4150786c0924dfmytestqueue7112bc23f05d436581a442ff5a30a502mytestqueue71cffa274eb8467499f1d3929e0b547amytestqueue72eee81ce3304a85abae0da8da2fb971mytestqueue73809c04b0814c349f3d376acac21936mytestqueue73bf52bde9ad435fb8f25637f9e02a78mytestqueue74eabba1cee848d289770085b26ad0aemytestqueue7505d731b63d442194eabebca60f4489mytestqueue75b91164mytestqueue7797991834d04896a95ef93936c7c681mytestqueue78518a7bf157468aa1dee8b37f1e922dmytestqueue7a0bf1563a2b4188bfe4b546a4e03342mytestqueue7a28be41abdb4d769d53b1dece8f73e3mytestqueue7af12e3c329848378893b4b8e3ef4c7amytestqueue7b66f96b9f014a82bad470b8f71caf92mytestqueue7bb43c39f35d431e9ba1c8b122cf9777mytestqueue7c6abfdf443f467090ae8a014be8aa4emytestqueue805920c754b041cf8deceff58400fa53mytestqueue83dd9b0186b14fa08141840eae687171mytestqueue85130c472a0b488889663ea8606040e2mytestqueue854d653eff6546f69142cf06af2649b4mytestqueue8559061c61334fa1bb959aecd0da4426mytestqueue858269125a914dcf91187fb153c26892mytestqueue85b8f0e97f5a4cce9b355fbb147c3de7mytestqueue860a1baf5fae486097187b20bc6e7055mytestqueue881db4a38e544258a279c191099a25famytestqueue8841abf9ce4c49edb7185b3f6c1163a7mytestqueue8a876832ac724331953179440a394cfamytestqueue8d30e5ff24594786832c4296abbfd864mytestqueue8d987988c256454e9f68da6e67fff14dmytestqueue8ee22ba4e8ac45edbec3325bef58ee43mytestqueue8fb3a010f99b451382dab5b4857657admytestqueue91da76f73ae6480886ef23892623854dmytestqueue960ac977f1ac4e60abc38e7c430baa4emytestqueue96fdfe8c6b134c5384b58c17301f77fcmytestqueue982f67ad01c34da3b0d74c7d0f3dfe55mytestqueue987c3f3e22964e53813fd9cb9ce96a11mytestqueue9aa0c8da777d4cc5903a09493e4686e1mytestqueue9bc49840cfca4e40878d36a28a9e7fbamytestqueue9c323778dc43455bb754412c649043afmytestqueue9ce26d4316bd422a834d9a337dc0a026mytestqueue9fa9d06ac8bd4c588bb2ab3de000eed5mytestqueuea1fe7aa90c8146ecb8a5d945c2252474mytestqueuea7a6653b1b424ddda0a741ea5b1ac88dmytestqueuea81c6600c1b84e41bbd60fd27ce5b417mytestqueuea8de147b194d4bfcb5b59a5f5ca084ddmytestqueuea971fe7d1a344b0b98056bce3afaff5bmytestqueuea9741dcbab624d088e36d224439eb695mytestqueuea9c1bd5618e34125b8a9f689d4a707fbmytestqueuea9e1b0fde8be4118880a510fbe1e589amytestqueueaa5806c6272d4417a225492239b5ace3mytestqueueaa66e82f3dec46e8839d7715a1d2a043mytestqueueaafbbec0805c4ca38f01bd01160ec301mytestqueueab101218mytestqueueacf3758b63284ca587aea8a6dd8c540cmytestqueuead5904d8b8414594aafb6e16c6b90ae1mytestqueueade2d95c2adb42d39897c79a2d2bd732mytestqueueae24b769c11c42f49aa92dd543ef8370mytestqueueae85786599ac40f4bbfc49f589437619mytestqueueb0a78d5a40c64109bbb04f9e75ee6198mytestqueueb3a17249fb3d4d808f3f11e675a48db6mytestqueueb889933f2d514a01aa066ee6f8527f48mytestqueueb8af4c65c68d40dfb8a43be7f1306736mytestqueueb8e27a5377c746a89684599593c48fc9mytestqueueb8f387b3e88142d994f1b67cc4c3b8f5mytestqueueb8f7c7c0b5334dd28a372483fe34cf85mytestqueuebdb1127amytestqueuec02cfaf02cbd4abd9db6056b646b4c2amytestqueuec6a88153e5204900abb7cc5db2263871mytestqueuecad9edd8b29944c2851e2510a965609fmytestqueuecae52f66c12b40a58766acbe2ff6a039mytestqueuecaf53e13012d41b48f81ade204f940bfmytestqueuecafbb33045ae477cb30e960324edacf2mytestqueuecc379b71e4674723ac1bd2e873b316f2mytestqueued02f34d52044423e968dd4b55078d55cmytestqueued30f9eeec88b4c2e80901b6710f09487mytestqueued3b0dc497b92494fa360d4254cb1a55dmytestqueued410fb6be6c344c3b88b95dc07c09f32mytestqueued6a3405cdf904b19a1481eba7c8573bcmytestqueued6ee555754ed433c84ef925b76ac81c2mytestqueued84b35b6f1f24d42afd45ade5d1dd374mytestqueued87e54ff46704900ab5b8091d0e0e584mytestqueuedbc04470f1534b76a39606f82a0a9eb9mytestqueuedbe56167f9ca4c2b8a56776f55e30679mytestqueuee0cbc45e20ab4930ae9cbcf71bb0ebb1mytestqueuee1e1248a89854ded8e15dc43c98ca3ffmytestqueuee1eb8770bfc14ea68e1ecf5998510802mytestqueuee2298173ac224ab6931c525d61033dd8mytestqueuee2731e6215af45eeaf7a7d0853223a62mytestqueuee4be0725f15c4bdcacd70e3f386bd278mytestqueuee502ace649084b42b7e438a4852a2d04mytestqueuee6e7007681db4f38bd54b1bef2dc561fmytestqueuee7d1522da1024b62ad98758788f8bb60mytestqueuee8521fdb8dba408887e0c5c5a0a71963mytestqueuee87b6d1aacf54490b97ade827772735emytestqueuee9258d0f6a424dacb443807783c770abmytestqueueea01d18298ce4695bdb9f46a923010d4mytestqueueebe246cf030c4889997884bbf9b751ccmytestqueuef0a9a0a2ad674a91af11a7134ea213d3mytestqueuef25e76f608ca41d19f77b300f17cbe79mytestqueuef2eab9ef80fd4906a050ca1b12bf0c81mytestqueuef4c4a9ec99df4d3ab2f1381daac21050mytestqueuef4e3d4b58b5244d69e414898b9c19522mytestqueuef55043a7cdc140da84d260d6d21d5b96mytestqueuef597e9b04e6940178368ea7067a0d127mytestqueuef5e8a16e00954635bf0d4bc28e9758e9mytestqueuef6a421d877e542a493bd7319e7cf704bmytestqueuef6f2fa1d36b947e4879469f23b1d48d2mytestqueuef7218773c2504e3f91d4b52abdeedf60mytestqueuef7e117b62c1f400f8e6ec44c05ab17bdmytestqueuefc681a690e364421aee2604578788433mytestqueuefcb9b981bd2240bc982c63ca4aabe3a9mytestqueuefe70fb5cd21a4fb095adb75b56c541c9" + headers: + Cache-Control: no-cache + Content-Type: application/xml + Date: Tue, 30 Jul 2019 17:26:54 GMT + Server: Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0 + Transfer-Encoding: chunked + Vary: Origin + x-ms-request-id: 72dae87a-4003-00c1-05fb-46efb9000000 + x-ms-version: '2018-03-28' + status: + code: 200 + message: OK + url: !!python/object/new:yarl.URL + state: !!python/tuple + - !!python/object/new:urllib.parse.SplitResult + - https + - amqptest.queue.core.windows.net + - / + - comp=list + - '' +version: 1 diff --git a/sdk/storage/azure-storage-queue/tests/test_queue_async.py b/sdk/storage/azure-storage-queue/tests/test_queue_async.py index 4db3384e4a7d..55c2e3efe461 100644 --- a/sdk/storage/azure-storage-queue/tests/test_queue_async.py +++ b/sdk/storage/azure-storage-queue/tests/test_queue_async.py @@ -21,6 +21,9 @@ ResourceNotFoundError, ResourceExistsError) +from azure.core.pipeline.transport import AioHttpTransport +from multidict import CIMultiDict, CIMultiDictProxy + from azure.storage.queue.aio import QueueServiceClient, QueueClient from azure.storage.queue import ( QueuePermissions, @@ -42,6 +45,15 @@ # ------------------------------------------------------------------------------ +class AiohttpTestTransport(AioHttpTransport): + """Workaround to vcrpy bug: https://github.com/kevin1024/vcrpy/pull/461 + """ + async def send(self, request, **config): + response = await super(AiohttpTestTransport, self).send(request, **config) + if not isinstance(response.headers, CIMultiDictProxy): + response.headers = CIMultiDictProxy(CIMultiDict(response.internal_response.headers)) + response.content_type = response.headers.get("content-type") + return response class StorageQueueTestAsync(QueueTestCase): def setUp(self): @@ -49,7 +61,7 @@ def setUp(self): queue_url = self._get_queue_url() credentials = self._get_shared_key_credential() - self.qsc = QueueServiceClient(account_url=queue_url, credential=credentials) + self.qsc = QueueServiceClient(account_url=queue_url, credential=credentials, transport=AiohttpTestTransport()) self.test_queues = [] def tearDown(self): @@ -180,9 +192,8 @@ async def _test_list_queues(self): self.assertIsNotNone(queues) self.assertTrue(len(self.test_queues) <= len(queues)) + @record def test_list_queues(self): - if TestMode.need_recording_file(self.test_mode): - return loop = asyncio.get_event_loop() loop.run_until_complete(self._test_list_queues())