Skip to content

Commit

Permalink
[Mgmt] Update conftest (#25507)
Browse files Browse the repository at this point in the history
* update conftest

* Update conftest.py

* Packaging update of azure-mgmt-servicebus

* Packaging update of azure-mgmt-cdn

* Packaging update of azure-mgmt-relay

* Packaging update of azure-mgmt-network

* Packaging update of azure-mgmt-loganalytics

* Packaging update of azure-mgmt-keyvault

* Packaging update of azure-mgmt-batch

* Packaging update of azure-mgmt-eventgrid

* Packaging update of azure-mgmt-compute

* Packaging update of azure-mgmt-advisor

* Packaging update of azure-mgmt-automation

* Packaging update of azure-mgmt-consumption

* Packaging update of azure-mgmt-resource

* Packaging update of azure-mgmt-scheduler

* Packaging update of azure-mgmt-commerce

* Packaging update of azure-mgmt-loadtestservice

* Packaging update of azure-mgmt-monitor

* Packaging update of azure-mgmt-devtestlabs

* Packaging update of azure-mgmt-marketplaceordering

* Packaging update of azure-mgmt-sql

* Packaging update of azure-mgmt-authorization

* Packaging update of azure-mgmt-notificationhubs

* Packaging update of azure-mgmt-search

* Packaging update of azure-mgmt-logic

* Packaging update of azure-mgmt-iothub

Co-authored-by: Azure SDK Bot <adxpysdk@microsoft.com>
  • Loading branch information
BigCat20196 and AutorestCI committed Aug 2, 2022
1 parent faca3ac commit 24fbc98
Show file tree
Hide file tree
Showing 101 changed files with 276 additions and 119 deletions.
3 changes: 2 additions & 1 deletion sdk/advisor/azure-mgmt-advisor/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include _meta.json
recursive-include tests *.py *.yaml
recursive-include tests *.py *.json
include *.md
include azure/__init__.py
include azure/mgmt/__init__.py
include LICENSE
include azure/mgmt/advisor/py.typed
2 changes: 1 addition & 1 deletion sdk/advisor/azure-mgmt-advisor/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure Advisor Client Library.
This package has been tested with Python 3.6+.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_
Expand Down
9 changes: 6 additions & 3 deletions sdk/advisor/azure-mgmt-advisor/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand All @@ -65,10 +64,14 @@
'azure',
'azure.mgmt',
]),
include_package_data=True,
package_data={
'pytyped': ['py.typed'],
},
install_requires=[
'msrest>=0.6.21',
'azure-common~=1.1',
'azure-mgmt-core>=1.3.0,<2.0.0',
'azure-mgmt-core>=1.3.1,<2.0.0',
],
python_requires=">=3.6"
python_requires=">=3.7"
)
4 changes: 4 additions & 0 deletions sdk/advisor/azure-mgmt-advisor/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@
def add_sanitizers(test_proxy):
subscription_id = os.environ.get("AZURE_SUBSCRIPTION_ID", "00000000-0000-0000-0000-000000000000")
tenant_id = os.environ.get("AZURE_TENANT_ID", "00000000-0000-0000-0000-000000000000")
client_id = os.environ.get("AZURE_CLIENT_ID", "00000000-0000-0000-0000-000000000000")
client_secret = os.environ.get("AZURE_CLIENT_SECRET", "00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=subscription_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=tenant_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=client_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=client_secret, value="00000000-0000-0000-0000-000000000000")
add_header_regex_sanitizer(key="Set-Cookie", value="[set-cookie;]")
add_header_regex_sanitizer(key="Cookie", value="cookie;")
add_body_key_sanitizer(json_path="$..access_token", value="access_token")
3 changes: 2 additions & 1 deletion sdk/authorization/azure-mgmt-authorization/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include _meta.json
recursive-include tests *.py *.yaml
recursive-include tests *.py *.json
include *.md
include azure/__init__.py
include azure/mgmt/__init__.py
include LICENSE
include azure/mgmt/authorization/py.typed
2 changes: 1 addition & 1 deletion sdk/authorization/azure-mgmt-authorization/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure Authorization Management Client Library.
This package has been tested with Python 3.6+.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_
Expand Down
9 changes: 6 additions & 3 deletions sdk/authorization/azure-mgmt-authorization/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand All @@ -65,10 +64,14 @@
'azure',
'azure.mgmt',
]),
include_package_data=True,
package_data={
'pytyped': ['py.typed'],
},
install_requires=[
'msrest>=0.6.21',
'azure-common~=1.1',
'azure-mgmt-core>=1.3.0,<2.0.0',
'azure-mgmt-core>=1.3.1,<2.0.0',
],
python_requires=">=3.6"
python_requires=">=3.7"
)
4 changes: 4 additions & 0 deletions sdk/authorization/azure-mgmt-authorization/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@
def add_sanitizers(test_proxy):
subscription_id = os.environ.get("AZURE_SUBSCRIPTION_ID", "00000000-0000-0000-0000-000000000000")
tenant_id = os.environ.get("AZURE_TENANT_ID", "00000000-0000-0000-0000-000000000000")
client_id = os.environ.get("AZURE_CLIENT_ID", "00000000-0000-0000-0000-000000000000")
client_secret = os.environ.get("AZURE_CLIENT_SECRET", "00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=subscription_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=tenant_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=client_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=client_secret, value="00000000-0000-0000-0000-000000000000")
add_header_regex_sanitizer(key="Set-Cookie", value="[set-cookie;]")
add_header_regex_sanitizer(key="Cookie", value="cookie;")
add_body_key_sanitizer(json_path="$..access_token", value="access_token")
2 changes: 1 addition & 1 deletion sdk/automation/azure-mgmt-automation/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include _meta.json
recursive-include tests *.py *.yaml
recursive-include tests *.py *.json
include *.md
include azure/__init__.py
include azure/mgmt/__init__.py
Expand Down
2 changes: 1 addition & 1 deletion sdk/automation/azure-mgmt-automation/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure Automation Client Library.
This package has been tested with Python 3.6+.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_
Expand Down
3 changes: 1 addition & 2 deletions sdk/automation/azure-mgmt-automation/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand All @@ -74,5 +73,5 @@
'azure-common~=1.1',
'azure-mgmt-core>=1.3.1,<2.0.0',
],
python_requires=">=3.6"
python_requires=">=3.7"
)
4 changes: 4 additions & 0 deletions sdk/automation/azure-mgmt-automation/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@
def add_sanitizers(test_proxy):
subscription_id = os.environ.get("AZURE_SUBSCRIPTION_ID", "00000000-0000-0000-0000-000000000000")
tenant_id = os.environ.get("AZURE_TENANT_ID", "00000000-0000-0000-0000-000000000000")
client_id = os.environ.get("AZURE_CLIENT_ID", "00000000-0000-0000-0000-000000000000")
client_secret = os.environ.get("AZURE_CLIENT_SECRET", "00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=subscription_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=tenant_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=client_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=client_secret, value="00000000-0000-0000-0000-000000000000")
add_header_regex_sanitizer(key="Set-Cookie", value="[set-cookie;]")
add_header_regex_sanitizer(key="Cookie", value="cookie;")
add_body_key_sanitizer(json_path="$..access_token", value="access_token")
2 changes: 1 addition & 1 deletion sdk/batch/azure-mgmt-batch/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include _meta.json
recursive-include tests *.py *.yaml
recursive-include tests *.py *.json
include *.md
include azure/__init__.py
include azure/mgmt/__init__.py
Expand Down
2 changes: 1 addition & 1 deletion sdk/batch/azure-mgmt-batch/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure Batch Management Client Library.
This package has been tested with Python 3.6+.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_
Expand Down
5 changes: 2 additions & 3 deletions sdk/batch/azure-mgmt-batch/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand All @@ -72,7 +71,7 @@
install_requires=[
'msrest>=0.6.21',
'azure-common~=1.1',
'azure-mgmt-core>=1.3.0,<2.0.0',
'azure-mgmt-core>=1.3.1,<2.0.0',
],
python_requires=">=3.6"
python_requires=">=3.7"
)
4 changes: 4 additions & 0 deletions sdk/batch/azure-mgmt-batch/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,12 @@
def add_sanitizers(test_proxy):
subscription_id = os.environ.get("AZURE_SUBSCRIPTION_ID", "00000000-0000-0000-0000-000000000000")
tenant_id = os.environ.get("AZURE_TENANT_ID", "00000000-0000-0000-0000-000000000000")
client_id = os.environ.get("AZURE_CLIENT_ID", "00000000-0000-0000-0000-000000000000")
client_secret = os.environ.get("AZURE_CLIENT_SECRET", "00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=subscription_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=tenant_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=client_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=client_secret, value="00000000-0000-0000-0000-000000000000")
add_header_regex_sanitizer(key="Set-Cookie", value="[set-cookie;]")
add_header_regex_sanitizer(key="Cookie", value="cookie;")
add_body_key_sanitizer(json_path="$..access_token", value="access_token")
3 changes: 2 additions & 1 deletion sdk/cdn/azure-mgmt-cdn/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include _meta.json
recursive-include tests *.py *.yaml
recursive-include tests *.py *.json
include *.md
include azure/__init__.py
include azure/mgmt/__init__.py
include LICENSE
include azure/mgmt/cdn/py.typed
2 changes: 1 addition & 1 deletion sdk/cdn/azure-mgmt-cdn/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure CDN Management Client Library.
This package has been tested with Python 3.6+.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_
Expand Down
9 changes: 6 additions & 3 deletions sdk/cdn/azure-mgmt-cdn/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand All @@ -65,10 +64,14 @@
'azure',
'azure.mgmt',
]),
include_package_data=True,
package_data={
'pytyped': ['py.typed'],
},
install_requires=[
'msrest>=0.6.21',
'azure-common~=1.1',
'azure-mgmt-core>=1.3.0,<2.0.0',
'azure-mgmt-core>=1.3.1,<2.0.0',
],
python_requires=">=3.6"
python_requires=">=3.7"
)
4 changes: 4 additions & 0 deletions sdk/cdn/azure-mgmt-cdn/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@
def add_sanitizers(test_proxy):
subscription_id = os.environ.get("AZURE_SUBSCRIPTION_ID", "00000000-0000-0000-0000-000000000000")
tenant_id = os.environ.get("AZURE_TENANT_ID", "00000000-0000-0000-0000-000000000000")
client_id = os.environ.get("AZURE_CLIENT_ID", "00000000-0000-0000-0000-000000000000")
client_secret = os.environ.get("AZURE_CLIENT_SECRET", "00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=subscription_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=tenant_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=client_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=client_secret, value="00000000-0000-0000-0000-000000000000")
add_header_regex_sanitizer(key="Set-Cookie", value="[set-cookie;]")
add_header_regex_sanitizer(key="Cookie", value="cookie;")
add_body_key_sanitizer(json_path="$..access_token", value="access_token")
3 changes: 2 additions & 1 deletion sdk/commerce/azure-mgmt-commerce/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include _meta.json
recursive-include tests *.py *.yaml
recursive-include tests *.py *.json
include *.md
include azure/__init__.py
include azure/mgmt/__init__.py
include LICENSE
include azure/mgmt/commerce/py.typed
2 changes: 1 addition & 1 deletion sdk/commerce/azure-mgmt-commerce/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure Commerce Client Library.
This package has been tested with Python 3.6+.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_
Expand Down
9 changes: 6 additions & 3 deletions sdk/commerce/azure-mgmt-commerce/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand All @@ -65,10 +64,14 @@
'azure',
'azure.mgmt',
]),
include_package_data=True,
package_data={
'pytyped': ['py.typed'],
},
install_requires=[
'msrest>=0.6.21',
'azure-common~=1.1',
'azure-mgmt-core>=1.3.0,<2.0.0',
'azure-mgmt-core>=1.3.1,<2.0.0',
],
python_requires=">=3.6"
python_requires=">=3.7"
)
4 changes: 4 additions & 0 deletions sdk/commerce/azure-mgmt-commerce/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@
def add_sanitizers(test_proxy):
subscription_id = os.environ.get("AZURE_SUBSCRIPTION_ID", "00000000-0000-0000-0000-000000000000")
tenant_id = os.environ.get("AZURE_TENANT_ID", "00000000-0000-0000-0000-000000000000")
client_id = os.environ.get("AZURE_CLIENT_ID", "00000000-0000-0000-0000-000000000000")
client_secret = os.environ.get("AZURE_CLIENT_SECRET", "00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=subscription_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=tenant_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=client_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=client_secret, value="00000000-0000-0000-0000-000000000000")
add_header_regex_sanitizer(key="Set-Cookie", value="[set-cookie;]")
add_header_regex_sanitizer(key="Cookie", value="cookie;")
add_body_key_sanitizer(json_path="$..access_token", value="access_token")
2 changes: 1 addition & 1 deletion sdk/compute/azure-mgmt-compute/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include _meta.json
recursive-include tests *.py *.yaml
recursive-include tests *.py *.json
include *.md
include azure/__init__.py
include azure/mgmt/__init__.py
Expand Down
2 changes: 1 addition & 1 deletion sdk/compute/azure-mgmt-compute/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure Compute Management Client Library.
This package has been tested with Python 3.6+.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_
Expand Down
3 changes: 1 addition & 2 deletions sdk/compute/azure-mgmt-compute/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand All @@ -74,5 +73,5 @@
'azure-common~=1.1',
'azure-mgmt-core>=1.3.1,<2.0.0',
],
python_requires=">=3.6"
python_requires=">=3.7"
)
4 changes: 4 additions & 0 deletions sdk/compute/azure-mgmt-compute/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,12 @@
def add_sanitizers(test_proxy):
subscription_id = os.environ.get("AZURE_SUBSCRIPTION_ID", "00000000-0000-0000-0000-000000000000")
tenant_id = os.environ.get("AZURE_TENANT_ID", "00000000-0000-0000-0000-000000000000")
client_id = os.environ.get("AZURE_CLIENT_ID", "00000000-0000-0000-0000-000000000000")
client_secret = os.environ.get("AZURE_CLIENT_SECRET", "00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=subscription_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=tenant_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=client_id, value="00000000-0000-0000-0000-000000000000")
add_general_regex_sanitizer(regex=client_secret, value="00000000-0000-0000-0000-000000000000")
add_header_regex_sanitizer(key="Set-Cookie", value="[set-cookie;]")
add_header_regex_sanitizer(key="Cookie", value="cookie;")
add_body_key_sanitizer(json_path="$..access_token", value="access_token")
Expand Down
2 changes: 1 addition & 1 deletion sdk/consumption/azure-mgmt-consumption/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include _meta.json
recursive-include tests *.py *.yaml
recursive-include tests *.py *.json
include *.md
include azure/__init__.py
include azure/mgmt/__init__.py
Expand Down
2 changes: 1 addition & 1 deletion sdk/consumption/azure-mgmt-consumption/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure Consumption Client Library.
This package has been tested with Python 3.6+.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_
Expand Down
3 changes: 1 addition & 2 deletions sdk/consumption/azure-mgmt-consumption/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand All @@ -74,5 +73,5 @@
'azure-common~=1.1',
'azure-mgmt-core>=1.3.1,<2.0.0',
],
python_requires=">=3.6"
python_requires=">=3.7"
)
Loading

0 comments on commit 24fbc98

Please sign in to comment.