зеркало из
1
0
Форкнуть 0
Граф коммитов

543 Коммитов

Автор SHA1 Сообщение Дата
Kieran Brantner-Magee 941b510d38 Merge branch 'kibrantn/servicebus/unify-track2-into-master-final' 2020-01-28 13:37:53 -08:00
Charles Lowell 21e2282f98
Support matching content in playback (#9587) 2020-01-28 12:25:59 -08:00
Kieran Brantner-Magee 796ef17013 Use existing live_test_only logic instead of novel decorator
thread through random_name_required and force utilization for ResourceGroups via a RandomNameResourceGroup helper in devtools_testutils
2020-01-24 16:46:34 -08:00
Laurent Mazuel 6c3227c439
Improve StoragePreparer (#8930)
* Support env variables and stuff

* More tests

* Accept storage account for account_url

* Sync queue shared tests files

* more changes

* Feedback

* Fix queue import

* Fix playback mode

* Updated blob test account URLs

* Updated queue test account URLs

* Secondary endpoints needs init too

* Better support of connection string

* Fixed missing awaits

* Fix file share test pass

* Strip / if endpoints are from ARM GET

Co-authored-by: Rakshith Bhyravabhotla <rakshith.bhyravabhotla@gmail.com>
Co-authored-by: annatisch <antisch@microsoft.com>
2020-01-23 13:10:24 -08:00
Scott Beddall 04d7b6c5fd
Adding testutils to defined packages within azure-common (#9365)
* adding testutils to defined packages within azure-common
* moving testutils out of azure-common and into azure-sdk-tools
2020-01-08 14:52:38 -08:00
Krista Pratico 39c3c4076d
[textanalytics] Refactor tests to use global preparer (#9288)
* refactor text analytics and cognitive services test case, remove core dev req for track1

* adds global text analytics preparer

* changes all tests to use global text analytics preparer
2020-01-02 14:08:55 -08:00
Laurent Mazuel b9812dfe57
Support AZURE_RESOURCEGROUP_NAME (#9198)
* Support AZURE_RESOURCEGROUP_NAME

* Simplify storage global account

* Live are for data-plane only
2019-12-18 16:46:04 -08:00
Krista Pratico 398de90ae2
[textanalytics] Setting up live test pipeline (#9178)
* testing ci pr validation

* update tests.yml

* run serially

* try running parallel with random name enabled

* remove AZURE_ prefix in env vars name for AAD auth tests

* add AZURE_ prefix to endpoint env var
2019-12-18 13:54:57 -08:00
Laurent Mazuel e69325a4be
Add 3.8 in Mgmt template (#9206) 2019-12-18 11:04:12 -08:00
iscai-msft f48da8bd83
AzureNameError now just passes to Exception (#9193) 2019-12-17 11:19:02 -08:00
praveenkuttappan ba7baf2705
PyPIClient module is failing on Python 2.7 and <Python 3.6 versions (#9183) 2019-12-16 18:16:43 -08:00
iscai-msft 2d5b028fb7 correct super call for AzureNameError (#9173) 2019-12-16 16:23:24 -08:00
Krista Pratico 647f54445c
[textanalytics] Moves textanalytics track2 and renames namespace/package (#9149)
* moves text analytics track 2 to sdk/textanalytics and renames to azure-ai-textanalytics

* more renames

* fix env var name for async testcase

* bump azure-core version in setup.py

* update shared reqs

* readme.rst -> readme.md for nspkg

* pylint fixes for nspkg

* change nspkg version

* update nspkg manifest.in

* temp add azure-ai-nspkg to dev_requirements.txt until pkg released

* update code from swagger fixes

* review updates
2019-12-16 15:34:57 -08:00
iscai-msft a0083a6bae
Testing framework: added ReservedResourceName error handling (#9164) 2019-12-16 12:51:55 -08:00
iscai-msft 4a485f00ca
Patch to key vault testing framework (#9117) 2019-12-13 17:41:06 -08:00
Krista Pratico c6fb69fd74
Revert "[cognitiveservices] Text Analytics track 2" (#9118)
* Revert "[cognitiveservices] Text Analytics track 2 (#8568)"

This reverts commit ea199172e4.

* Packaging update of azure-cognitiveservices-language-textanalytics
2019-12-12 14:07:37 -08:00
iscai-msft 2c9b330964
Key Vault: redoing tests with random vault naming (#9005) 2019-12-11 11:35:15 -08:00
Scott Beddall 58f395913c
azure-devtools should never install the upstream pypi version. removing implicit dependency to ensure that (#9065)
adding sdk tools and dev tools as default
2019-12-10 13:26:48 -08:00
Krista Pratico ea199172e4
[cognitiveservices] Text Analytics track 2 (#8568)
* adding generated code for TA v3-p1

* started work on convenience layer for detect entities

* working on batched operations

* fixes the document language model, swagger needs update

* working on single operations

* updated generated code, working on error handling

* more error handling work

* error handling for entities

* fixes results and errors combined response

* adds autosegmentation of batches and renames operations

* fix policy

* adds async client, refactoring, and ran black

* whole batch error handling

* fix async client

* fix error handler, fix testcase

* update generated code - commit c0df36f

* adds azure core to setup and updates to Error model

* add docstrings and fix python 2 errors

* fix bug in validate input

* add request id policy, update docstrings, and version

* fix python 2

* adds some tests and single operation samples

* add conftest

* fix python 2

* enable pylint in CI for textanalytics

* fix pylint mistake

* add another test

* fix single method raised errors and unskip tests

* more samples and a few fixes

* refactor error method

* re-generated code at commit 013ee15 and fixes as a result

* feedback - single operations return same type as batch

* simplify policy

* fix test for python 2

* add async single methods, samples, tests

* add samples to manifest.in

* DocumentLanguage returns a single DetectedLanguage per document

* support batch language/country hint

* models inherit from dictmixin + a few tests

* ignore samples readme and fix type hints

* aad support

* review feedback and wip readme

* fix readme

* fix readme again

* mypy clean and enabled mypy failures in CI

* default country and language hint + tests

* revert documentlanguage returning a single detectedlanguage per document

* add literalincludes to samples

* update history and convert .rst to .md

* renamed detect_language to detect_languages

* renames LanguageInput -> DetectLanguageInput and MultiLanguageInput -> TextDocumentInput

* review feedback

* update shared reqs for msrest
2019-12-06 11:19:04 -08:00
iscai-msft 86afbc1206 passing random_name_enabled to appropriate class (#9007) 2019-12-04 16:56:09 -08:00
Laurent Mazuel 1ef96d6efc Make preparer force https for storage account (#8563)
* Update storage_testcase.py

* small fix
2019-11-11 09:43:32 -08:00
Laurent Mazuel 134bee78b5
Move queue to global preparer (#8270)
* Initital Commit

* Create a _shared folder for tests

* Share the session fixture as well

* More global preparers

* Fix collect_ignore_glob path

* Make list_queue compatible with global storage account

* Add @live_test pytest decorator

* Re-record

* Add live_test_only marker

* lru_cache doesn't exist on 2.7

* Make live_test_only a global marker

* Fix async test_token_credential test
2019-10-30 15:37:44 -07:00
Charles Lowell 2eca50db0d Handle self.resource_moniker == None (#8239) 2019-10-28 10:39:56 -07:00
Laurent Mazuel 86bf332d69
Blob test new migration (#8215)
* Test framework improvement

* Test update

* Rercordings

* CI configuration

* Missing pytest.ini
2019-10-25 15:05:42 -07:00
Laurent Mazuel 6f8b93a4af
Update base.py (#7801) 2019-10-16 09:42:24 -07:00
Krista Pratico 28bbc3cb63
[devtools-cognitiveservices] temp fix to allow passing cog key in headers for azure-core (#7471)
* allow cog key pass in headers

* change param to legacy

* adding legacy param to text analytics test
2019-09-27 15:11:06 -07:00
Krista Pratico 7342b9e3c3 adds back create mgmt client (#7470) 2019-09-27 14:25:52 -07:00
iscai-msft 5e291ac1f5 re-added login request scrubber (#7345) 2019-09-18 14:19:58 -07:00
Laurent Mazuel ededddf3e0
Read env variables and not settings if available (#7101)
* Read env variables and not settings if available

* Remove ADLA_JOB_ID from main MgmtTestCase

* Missing self

* Fix incorrect settings usage

* Remove AD_DOMAIN from mgmt testcase

* Add set_value_to_scrub

* Fix create_mgmt_client

* Remove CLIENT_OID from main mgmttestcase

* No packaging update for KV certificates

* Packaging update of azure-mgmt-datalake-analytics

* Packaging update of azure-graphrbac

* Fix missing return
2019-09-16 12:27:25 -07:00
Rakshith Bhyravabhotla 71e62fa9da
Un-use deprecated method in devtools (#7222)
* Un-use deprecated method

* make it python 2 compatible
2019-09-13 10:14:04 -07:00
Krista Pratico 58e3bf101c
[cognitive-services] cog services devtools test framework (#7087)
* cog sci test framework

* wait for account creation

* add fixme for luis authoring key

* have mgmt testcase inherit from azure testcase

* move text analytics to new test framework

* add back code in constructor for mgmt testcase
2019-09-12 09:28:45 -07:00
Rakshith Bhyravabhotla c433e47397 Storage Preview 3 Release (#7154)
* Storage swagger (#6777)

* Python swagger update

This only changes to the official swagger version and regenerates

* Upgrade blobs swagger to 2019-02-02

* Fixed namespace dir and header

* Enable XML for blobs

* Generate vanilla blobs

* Fixed global parameters in swagger spec

* Regenerated blobs

* Revert "Fixed global parameters in swagger spec"

This reverts commit 75bd21b00a.

* Moved parameter fix to readme

* Fixed blob list serialization

* Fix for new metadata model

* Fixed datetime formatting

* Fixed required access policy

* Fixed readme analysis

* Regenerated queues

* Regenerated files

* Fixed files datetime

* Skip tests pending msrest fix

* Fixed for queue XML

* Fix for docsettings

* [storage] Fix for Files upload return type (#6772)

* Fix missing import

* Fix for Files inconsistent return types

* Blob async trace decorators

* [SnapshotSAS]Add Snapshot SAS (#6819)

* [SnapshotSAS]Add Snapshot SAS

* [SnapshotSAS]Extract SharedAccessSignature for Blob File and Queue

* [SnapshotSAS]Fix Typo

* [SnapshotSAS]Delete Redundant code

The removed code is for another feature.

* [SnapshotSAS]Stylistic Tweak

* Updating Storage Files swagger to 2019-02-02 (#6872)

* Updating Storage Files swagger to 2019-02-02

This includes a few transform changes to set default values for new required
parameters and marked certain 8601 dates as strings when they use more precision
that Python's dates.

I'm seeing a few test failures that I'm hoping someone on the Python side can
investigate (mostly "The specified share is being deleted. Try operation later."
that I was seeing before my changes).  There are a few other failures related to
new service features that we can fix if easy or disable and file a work item to
get these changes in.  The recorded tests will also have to be updated, but we
don't need to block on that right now.

* skip file permission related tests

* [Storage] File swagger updates (#6926)

* Updating Storage Files swagger to 2019-02-02

This includes a few transform changes to set default values for new required
parameters and marked certain 8601 dates as strings when they use more precision
that Python's dates.

I'm seeing a few test failures that I'm hoping someone on the Python side can
investigate (mostly "The specified share is being deleted. Try operation later."
that I was seeing before my changes).  There are a few other failures related to
new service features that we can fix if easy or disable and file a work item to
get these changes in.  The recorded tests will also have to be updated, but we
don't need to block on that right now.

* swagger changes

* [storage] make storage pylint-clean (#6929)

* make storage pylint-clean

* feedback

* Remove Storage swagger files and reference azure-rest-api-specs (#6943)

Also includes some changes to the generated code updated to the latest version
of blobs

* Append block from url sync and async (#6925)

* [Sync][AppendBlock]

* [Async][AppendBlock]Add append_block_from_url

* [Blob][AppendBlock]add recordings for append_block_from_url

* [Blob][AppendBlock]fix failing CI

* [Blob][AppendBlock]fix Pylint

* [Blob][AppendBlock]Adjust Stylistic Things

* [UpdatePage]add upload_pages_from_url sync and async (#6960)

* [UpdatePage]add upload_pages_from_url sync and async

* [UploadPage]Adjust Stylistic Things

* Fix Pylint

* Fix Pylint

* [Queues] Migrate to devtools test framework (#6882)

* initial migration

* samples

* comments

* queues test fixes

* recodings update

* update

* comment address

* pylint fix

* comments address

* Put range from url (#7081)

* [File]Upload Range From Url Sync

* [File]Upload Range From Url ASync

* Fix Pylint

* Fix Pylint

* CPK--Client Provided Encryption Key (#7104)

* [Blob]CPK without test

* Add Generated Code

* Fix Pylint

* [Blob][CPK]Test

* Add Missing Recordings

* [Blob][CPK]use existing field self.scheme

* File rest parity (#7001)

* [File][RestParity]Rest Parity Sync

Add Rest Parity Sync part(except create permission)
tweak _shared package a bit

* [File][RestParity]Rest Parity Async

Add Rest Parity Async part(except create permission)

* [File][RestParity]Add Rest Parity Async Recording Files

Add recording files for both sync and async

* [File][RestParity]Fix CI

* [File][RestParity]Recording again to fix CI

* Add Generated Code

* Stylistic Things and Record

* [Swagger][BugFix]workaround to fix swagger generated code

* [File][RestParity]Add Create_Permission API and Test

* Fix Test

* Fix Pylint

* Revert the workaround

* [File][RestParity]Tweak Documentation and Tests

* delete .dat file

* [Blob][SAS] Added support for identity SAS (#7020)

* [Storage] Incremented version for preview 3 and updated change log (#7156)

* Update Azure Core and msrest

* Add Workaround for SharePermissions,revert msrest

* Update version and history.md

* updates on history.md

* minor change

* more changes

* [Storage] Fix flaky tests (#7179)

* Update HISTORY.md

* Fix some typo in error message

* Fix Some Tests

* some more fixes

* Skip OAUTH Test
2019-09-10 16:52:05 -07:00
Scott Beddall 674af83a0a
vcrpy forcing earlier version (#6745) 2019-08-09 12:14:33 -07:00
Zim Kalinowski 337db3c8e2
adding dockerfile (#6393) 2019-07-18 09:08:35 +08:00
Laurent Mazuel 8c0d9c29b1
Fix installation instruction 2019-07-15 14:47:51 -07:00
Laurent Mazuel 24ddcedaae
Update changelog_generics.rst 2019-07-03 12:13:49 -07:00
annatisch 1f02e1bc1a
Azure Storage File Track2 (#6106)
* Files Skeleton (#5921)

* Generate storage files autorest layer (#5926)

* Generate autorest layer

* oops

* Rename files to file

* [Storage Files] API skeleton with helper files (#5965)

* Hookup File Service Client (#5977)

* Hookup share client (#6000)

* commit1

* Hook up Share Client

* Directory client hookup + File client  Hookup (#6040)

* file hookup

* changes

* [storage-files]Started adding files tests (#6051)

* Updated shared module

* Added tests

* First test pass

* Fixed client tests

* Fixed service props tests

* share tests (#6084)

* random commit

* share tests

* changes

* revert to fake settings

* Updates for file client tests

* Merged clients

* Fixed tests

* Recorded tests

* Clean test pass

* Packaging update of azure-storage-file

* Fixed acl test

* Fixed copy test

* More recordings

* Fixed copy recordings

* Fixed directory test

* Added close handles

* Updated packaging

* Updated user agent policy

* Updated dependencies

* Fixed handles tests

* Fixed syntax

* Files dependency conflict

* docstrings for files (#6128)

* Storage-File readme (#6156)

* adds file readme

* fix anchor for upload file

* Removed Py3.4 tag

* Clean pylint

* Fixed generated models

* Code samples for files (#6159)

* adds code samples for files

* fixes recording

* fixes code samples and adds literalincludes for docs

* fix links for readme

* Fix CI

* [storage-file] Docs updates (#6189)

* Fix failure to parse UTF8 files with BOM (#6160)

* Fix failure to parse UTF8 files with BOM

* Match frozen requirements in cosmos

* build universal wheels (#6173)

* Batch of doc

* Typo

* Update README and HISTORY of EventHub (#6151)

* Update readme

* Update sample code, obtain connection string and documentation reference in readme

* Remove import os in readme

* Added identity snippets in readme

* Update history, readme and license

* Update history

* Update history of EventHub

* Fix wrong version

* Update history of EventHub

* Update history to be more specific

* Update install command in readme for a preview version

* Update reference documentation link in readme

* don't scan anything under doc/ (#6185)

* Docs updates

* Some docs fixes

* Expand test coverage (#6170)

* Fixed model reference

* Fixed another reference

* Azure Storage Queue Track2 (#6039)

* Initial commit for Queues (#5656)

* Initial commit

* fix build

* fix build - 2

* add version

* API buildout (#5686)

* [Storage Queues] Add autorest layer to storage queues (#5687)

* add queue.json in swagger

* Add autorest layer

* Hooking up Queue client and Queue Service Client (#5817)

* Queue client

* changes

* shared access signature

* some fixes

* add tests

* Delete settings_real.py

* Refactored shared code and added tests

* Packaging update of azure-storage-queue

* Revert "Packaging update of azure-storage-queue"

This reverts commit fdc62ab270.

* Add packaging overwrite

* Fixed setup

* Fixed dependency

* Storage Queues readme (#6073)

* queues readme [wip]

* small fixes

* docstrings for queues (#6066)

* Updated user-agent policy

* Updated token test

* Updated message iterator to pageable

* Renamed dequeue to receive

* Removed Py3.4 tag

* Clean pylint

* Code samples for queues (#6088)

* adds code samples for queues

* fixes to code samples and adds literalincludes for docs

* add links for TODO

* uses unicode strings for python2 compatibility

* fix readme link

* Fix CI

* [Storage Queue] pylint  + mypy pass (#6187)

* [storage-queue] Docs updates (#6186)

* Docs updates

* First round review feedback

* Adopt MSAL 0.4.1 (#6176)

* Azure Storage Blob Track2 (#5896)

* Storage blob track2 (#5894)

* Blob storage track 2

* Started pylint fixes

* Clean pylint

* Started blob walk

* Started docstrings

* Support walk blob

* Pylint

* Refactored upload

* Pylint

* Packaging update of azure-storage-blob

* Fixes to storage dependencies in CI (#5900)

* Revert "Packaging update of azure-storage-blob"

This reverts commit aeeb3ceb59.

* Fix Storage CI

* Fixed imports

* updating ccount_key_arg -> account_key_arg

* updating ordering

* Packaging update of azure-storage-blob

* Revert "Packaging update of azure-storage-blob"

This reverts commit 66d68773cb.

* reverting 66d68773cb. adding sdk_packaging.toml file

* docstrings for blobs (#5954)

* [storage-blob] Refactor shared code (#5960)

* Fix Storage CI

* Fixed imports

* Refactor shared storage code

* Fixed XML error

* Reverted change to models

* Merged models docstrings

* Fix setup.py version

* Missing recordings

* Fix storage SDK conflict

* Packaging update of azure-eventhubs

* Revert "Packaging update of azure-eventhubs"

This reverts commit df844f7046.

* Fix EH packaging

* Updated shared code

* Review feedback

* [azure-storage-blob] Policy updates + simple upload/download (#6162)

* Last blob updates

* Azure core dependency version

* Update to user-agent policy

* Review feedback

* Removed old python tags

* Code samples for blobs (#6093)

* adds code samples for blobs

* fixes blob code samples and adds literalincludes for docs

* Storage Blobs Readme [wip] (#6011)

* blobs readme wip

* adding some samples and fixes for readme

* fix settings import

* moving code samples to a different PR

* small fixes to readme

* fill links for pypi and identity

* populating TODO links

* Fix CI

* [Storage Blob] pylint + mypy passs (#6175)

* pylint + mypy passs

* comments

* [storage-blob] Docs updates (#6184)

* Docs updates

* Some docstring fixes

* [storage-blob] Test rename (#6197)

* Test rename

* Removed test init files

* More renames

* Try flattening tests

* Blob test imports

* Flattened queue tests

* Renamed queue test case

* Updated manifest

* Renamed testcase

* Renamed samples

* Flattened tests

* Update PyPI package links on readme Key Vault (#6194)

* Renamed recordings

* fixes sample readme links (#6198)

* [azure-storage] Missing crypto dependency (#6203)

* [azure-storage] Missing crypto dependency

* Updated queue setup with crypto

* Fixed blob nspkg dependency

* Fixed queue nspkg dependency

* Added storage nspkg to shared deps

* Fixed dependencies

* Separate settings files

* [Storage File] pylint + mypy pass (#6202)
2019-07-03 08:07:56 -07:00
annatisch c93e46ec91
Azure Storage Blob Track2 (#5896)
* Storage blob track2 (#5894)

* Blob storage track 2

* Started pylint fixes

* Clean pylint

* Started blob walk

* Started docstrings

* Support walk blob

* Pylint

* Refactored upload

* Pylint

* Packaging update of azure-storage-blob

* Fixes to storage dependencies in CI (#5900)

* Revert "Packaging update of azure-storage-blob"

This reverts commit aeeb3ceb59.

* Fix Storage CI

* Fixed imports

* updating ccount_key_arg -> account_key_arg

* updating ordering

* Packaging update of azure-storage-blob

* Revert "Packaging update of azure-storage-blob"

This reverts commit 66d68773cb.

* reverting 66d68773cb. adding sdk_packaging.toml file

* docstrings for blobs (#5954)

* [storage-blob] Refactor shared code (#5960)

* Fix Storage CI

* Fixed imports

* Refactor shared storage code

* Fixed XML error

* Reverted change to models

* Merged models docstrings

* Fix setup.py version

* Missing recordings

* Fix storage SDK conflict

* Packaging update of azure-eventhubs

* Revert "Packaging update of azure-eventhubs"

This reverts commit df844f7046.

* Fix EH packaging

* Updated shared code

* Review feedback

* [azure-storage-blob] Policy updates + simple upload/download (#6162)

* Last blob updates

* Azure core dependency version

* Update to user-agent policy

* Review feedback

* Removed old python tags

* Code samples for blobs (#6093)

* adds code samples for blobs

* fixes blob code samples and adds literalincludes for docs

* Storage Blobs Readme [wip] (#6011)

* blobs readme wip

* adding some samples and fixes for readme

* fix settings import

* moving code samples to a different PR

* small fixes to readme

* fill links for pypi and identity

* populating TODO links

* Fix CI

* [Storage Blob] pylint + mypy passs (#6175)

* pylint + mypy passs

* comments

* [storage-blob] Docs updates (#6184)

* Docs updates

* Some docstring fixes

* [storage-blob] Test rename (#6197)

* Test rename

* Removed test init files

* More renames

* Try flattening tests

* Blob test imports

* Flattened queue tests

* Renamed queue test case
2019-07-02 09:11:48 -07:00
Laurent Mazuel c2a49496dd
3.4 is dead (#6131) 2019-06-27 10:16:06 -07:00
Laurent Mazuel 36406dafc7
Merged report for multi-api package 2019-06-21 16:35:26 -07:00
Laurent Mazuel 45095e4425
Add SwaggerToSdk CLI (#5989) 2019-06-20 12:47:12 -07:00
Laurent Mazuel 824a5a2477
Devtools (#5759)
* Initial commit

* Initial commit

* Initial commit

* wip: initial work - incomplete

* Copy code from https://github.com/Azure/azure-cli/tree/master/src/azure-cli-testsdk

* Add vcrpy version from azure-cli

* Add VSCode ignores

* Add Azure imports

* Start converting CLI commands to SDK calls

* Minor proofreading

* Add required common and mock modules

* Add deps, update pkgs and url

* Package structure

* Add more editor ignores

* Remove azure deps and nonexistent HISTORY ref

* Remove Azure mgmt dependencies

* Remove azure.common dependency

* Add dependency on six

* Remove CLI-specific stuff

* Remove CLI exception

* Remove most CLI-centric patches

* Remove older CLI-centric base class

* Add sleep patch back in

* First steps toward a unified config

* Config and no-record headers

Add config object to ScenarioTest
Add fake header for deactivating recording
Align cmdline options with vcr.py options

* Move recording-deactivation header detection to right place

* Add way to set default config file from scenario test

* Remove 'CLI' from env vars

* Reinstate patch_long_run_operation_delay

* New record disabling mechanism

* Modify config options for better backwards compatibility

* Ignore more VS stuff

* Remove jmespath dependency, update vcrpy

* Remove checkers

* Remove unuseds, make patches/processors kwargs

* Remove checkers, used only for CLI

* Update import and instance var name

* Remove unused imports

* line organization

* Update version number and vcrpy version

* Add a little more to README, add setup.cfg

* Add unit tests for TestConfig

* Add travis.yml and update dependencies

* Update author email

* Dummy push to try to trigger a Travis build

* Another dummy commit for Travis

* Switch to README.rst

* Update Travis tag pointer

* Use io to get encoding arg when reading README

* Remove unnecessary import

* Expose most everything in top-level namespace

* ScenarioTest -> ReplayableTest; update version

* Update version

* Remove unused os.path import

* Fix super call

* Fix super call in setUp

* Update ReplayableTest import

* Use earlier vcrpy, update version num

* Don't fix vcrpy version

* Drop "cli" from default random name prefix

* Add deployment to Travis

* Specify universal wheel

* Bump version to 0.2.2 for testing CI release process

* Let preparer subclasses override create_random_name

* De-"privatize" mock_in_unit_test and expose it

* Bump version to 0.3.0

* Set disable_recording from kwarg

* Don't treat mock_in_unit_test as a unittest

* Remove skip for mock_in_unit_test, specify test dir

* Update version numbers

* Remove extraneous requirements

* Remove outdated README.md stuff

* Update install for new requirements.txt

* Add 3.6-dev to pythons

* Update code style and run pylint in Travis

* Integrate with codecov.io

* Add test cover IntegrationTestBase

Also check in IntelliJ IDEA workspace configuration just in case someone
else is using PyCharm

* Add test case for LiveTest constructor

* Add tests cover create_random_name

* Add test covering get_sha1_hash

* Add test cover RecordingProcessor base class

* Add test covering SubscriptionRecordingProcessor

* Configure code coverage using configuration file

* Use unittest instead of nosetests to drive the automation

* Fix a few code style issues

* Rename coveragerc file

* Add AccessTokenProcessor

* Split intro and overview into clauses

* Back to paragraphs

* Update intro, add vcr link

* Update intro paragraph to be more general

* Remove reference to command modules

* Update test and module refs; clarify VCR.py role

* Remove outdated reference to class with builtin preparer

* Replace intro text

Use intro stolen from defunct recording_vcr_tests.md

* s/ScenarioTest/ReplayableTest/

* Add note about semantic linefeeds

* Make semantic linefeeds note an HTML comment

* Remove CLI examples and add links to consumers

* Remove doc for legacy test case class

* Finish sentence

* Add subclass kwarg information

* Fix subscription ID removal and test new cases

* Fix no-self-use linter complaint

* Downgrade the version of vcrpy dependency

from 1.11.1 to 1.11.0 due to a sympton similar to this
https://github.com/kevin1024/vcrpy/issues/318

* Bump version to 0.5.0 to prepare for release

* Fix import on Py3 not-TravisCI

* Fix recordmode

* Tight config test

* url parsing fix

* fixed pylint import order

* pylint import fix

* added record processor for slashes

* changed processor name

* Bump version 0.5.0 => 0.5.1

* Fix SubscriptionIdReplacer

* Update version 0.5.1 => 0.5.2

* Update __init__.py

* Detect leaked LRO poller

* PyLint happiness

* Improve error message

* wip

* fix error

* use base 64

* simplify

* add comments

* fix tests

* fix lint error

* use newer pylint to avoid invalid line errors

* add a new test

* address review feedback

* address review feedback

* support large response payload

* remove useless single quots from the error message

* setup: update version

* do not use preparer model for allowing large payload

* address review feedback

* Support Autorest.Python 3.x LRO leak (#42)

* Support Autorest.Python 3.x LRO leak

* PyLint happyness

* Bump version to 0.5.5

* Update the resource removal sequence

Also:
1. Adopt py.test over nosetest
2. Cleanup some test code

* remove x-ms-authorization-auxiliary header

* fix lint error

* update version

* Add some CI tools to devtools

* Readme update

* Some tests configuration

* Use Pytest as test launcher

* PyLint fixes

* CI tools tests are Py3.6 only

* PyLint CI tools only if 3.6

* CI tools tests recording

* Dont't Pylint the tests

* Fix incorrect usage of os.environ

* Make tests X-platform valid

* Fix test dependent of traceback

* Robust preparer testing

* PyGithub 1.40

* Release 1.1.0

* Allow clone_to_path to have both PR and SHA1 (#49)

* Allow clone_to_path to have both PR and SHA1

* Fix test

* Update github_tools.py (#55)

* SingleValueReplacer.process_request properly decodes request.body if its type is byte. (#56)

* Remove pointless files

* Move to tools

* Update dev_requirement file

* Don't record requests to AAD OAuth2 v2.0 endpoint

* Use devtools from repo, not from PyPI

* Fix mock dep
2019-06-10 10:15:46 -07:00
Laurent Mazuel 9c07a776fe
Tools folder (#5734)
* Move to SDK tools

* Change them all

* Update dev_setup

* Template should ask no update by default

* Refix dev_setup

* Do not check Readme inside tools folder

* Re-re-fix and tested dev_setup

* Blackened
2019-06-07 15:46:24 -07:00