azure-batch-cli-extensions/tests
wiboris 49dcd2f800
update extension to newest version (#139)
* update extension to newest version
2022-09-09 13:05:04 -07:00
..
data update extension to newest version (#139) 2022-09-09 13:05:04 -07:00
recordings update extension to newest version (#139) 2022-09-09 13:05:04 -07:00
README Update HISTORY and versions (#113) 2019-07-17 17:38:33 -07:00
__init__.py Restructured repo (#10) 2017-03-17 14:31:27 -07:00
test_extensions.py Remove azure.storage.blob in import (#123) 2020-06-02 09:45:56 -07:00
test_live.py update extension to newest version (#139) 2022-09-09 13:05:04 -07:00
vcr_test_base.py Fix array bug (#104) 2019-03-06 14:21:21 -08:00

README

##To Record Tests:

* Set environment variable AZURE_EXTENSION_DIR=./.azure/devcliextensions and 
* Delete all previous recordings located at tests/recordings (but not the folder)
* Create the accounts below and set the respective values:
    * AZURE_BATCH_ACCOUNT
    * AZURE_BATCH_ENDPOINT
    * AZURE_BATCH_ACCESS_KEY
    * AZURE_BATCH_RESOURCE_GROUP
    * AZURE_STORAGE_ACCOUNT
    * AZURE_STORAGE_ACCESS_KEY
* Additionally create a blob container in the storage account named aaatestcontainer. Make sure the container is empty and the storage account has no other contents.
* Run scripts/run_tests.
* Scrub the output recordings for keys.
* Update tests to use your test account for default.