Skip to content

Commit cd25de5

Browse files
Zim KalinowskiAutorestCI
andauthored
Test sqlvirtualmachine (#11329)
* test for sqlvirtualmachine * added some stuff * added necessary prerequisites * more sql vm tests * moved group creation * more test changes * creating storage * a few changes * fixes * completed test * fake storage key * moved tests to the right location * Packaging update of azure-mgmt-sqlvirtualmachine * updated coverage Co-authored-by: Azure SDK Bot <aspysdk2@microsoft.com>
1 parent 8060b6a commit cd25de5

File tree

4 files changed

+3082
-22
lines changed

4 files changed

+3082
-22
lines changed
Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,21 @@
1-
## Microsoft Azure SDK for Python
1+
# Microsoft Azure SDK for Python
22

3-
This is the Microsoft Azure SQL Virtual Machine Management Client
4-
Library.
3+
This is the Microsoft Azure SQL Virtual Machine Management Client Library.
4+
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
5+
For a more complete view of Azure libraries, see the [Github repo](https://github.com/Azure/azure-sdk-for-python/)
56

6-
Azure Resource Manager (ARM) is the next generation of management APIs
7-
that replace the old Azure Service Management (ASM).
87

9-
This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.
8+
# Usage
109

11-
For the older Azure Service Management (ASM) libraries, see
12-
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
13-
library.
10+
For code examples, see [SQL Virtual Machine Management](https://docs.microsoft.com/python/api/overview/azure/)
11+
on docs.microsoft.com.
1412

15-
For a more complete set of Azure libraries, see the
16-
[azure](https://pypi.python.org/pypi/azure) bundle package.
1713

18-
## Usage
14+
# Provide Feedback
1915

20-
For code examples, see [SQL Virtual Machine
21-
Management](https://docs.microsoft.com/python/api/overview/azure/) on
22-
docs.microsoft.com.
23-
24-
## Provide Feedback
25-
26-
If you encounter any bugs or have suggestions, please file an issue in
27-
the [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
16+
If you encounter any bugs or have suggestions, please file an issue in the
17+
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
2818
section of the project.
2919

30-
![image](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-sqlvirtualmachine%2FREADME.png)
20+
21+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-sqlvirtualmachine%2FREADME.png)

sdk/sql/azure-mgmt-sqlvirtualmachine/setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
pass
3737

3838
# Version extraction inspired from 'requests'
39-
with open(os.path.join(package_folder_path, 'version.py'), 'r') as fd:
39+
with open(os.path.join(package_folder_path, 'version.py')
40+
if os.path.exists(os.path.join(package_folder_path, 'version.py'))
41+
else os.path.join(package_folder_path, '_version.py'), 'r') as fd:
4042
version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]',
4143
fd.read(), re.MULTILINE).group(1)
4244

@@ -67,6 +69,7 @@
6769
'Programming Language :: Python :: 3.5',
6870
'Programming Language :: Python :: 3.6',
6971
'Programming Language :: Python :: 3.7',
72+
'Programming Language :: Python :: 3.8',
7073
'License :: OSI Approved :: MIT License',
7174
],
7275
zip_safe=False,

0 commit comments

Comments
 (0)