Skip to content

Commit

Permalink
Update from master
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed May 22, 2020
1 parent 37eea83 commit cabdfe1
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 45 deletions.
23 changes: 0 additions & 23 deletions sdk/hanaonazure/azure-mgmt-hanaonazure/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,5 @@
# Release History

## 0.14.0 (2020-05-14)

**Features**

- Model SapMonitor has a new parameter sap_monitor_collector_version
- Model SapMonitor has a new parameter monitor_subnet
- Added operation group ProviderInstancesOperations

**Breaking changes**

- Model Resource no longer has parameter tags
- Model Resource no longer has parameter location
- Model SapMonitor no longer has parameter key_vault_id
- Model SapMonitor no longer has parameter hana_db_password_key_vault_url
- Model SapMonitor no longer has parameter hana_db_name
- Model SapMonitor no longer has parameter hana_db_credentials_msi_id
- Model SapMonitor no longer has parameter hana_hostname
- Model SapMonitor no longer has parameter hana_db_username
- Model SapMonitor no longer has parameter hana_db_password
- Model SapMonitor no longer has parameter hana_subnet
- Model SapMonitor no longer has parameter hana_db_sql_port
- Removed operation group HanaInstancesOperations

## 0.13.0 (2020-02-13)

**Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
# regenerated.
# --------------------------------------------------------------------------

VERSION = "0.14.0"
VERSION = "0.13.0"

Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,27 @@ def setUp(self):
def process(self, result):
pass

#def test_hanainstance_list(self):
# hanainstances = list(self.hanaonazure_client.hana_instances.list())
# self.assertEqual(len(hanainstances), 3)
#
#@ResourceGroupPreparer()
#def test_hanainstance_list_by_resource_group(self, resource_group):
#
# resource_group_name = resource_group.name
#
# hanainstances = list(self.hanaonazure_client.hana_instances.list_by_resource_group(resource_group_name))
# self.assertEqual(len(hanainstances), 3)

#@ResourceGroupPreparer()
#def test_hanainstance_get(self, resource_group):

# resource_group_name = resource_group.name
# resource_name = "testhanainstanceresourcename"

# hanainstance = self.hanaonazure_client.hana_instances.get(resource_group_name, resource_name)
# self.assertEqual(hanainstance.name, resource_name)
def test_hanainstance_list(self):
hanainstances = list(self.hanaonazure_client.hana_instances.list())
self.assertEqual(len(hanainstances), 3)

@ResourceGroupPreparer()
def test_hanainstance_list_by_resource_group(self, resource_group):

resource_group_name = resource_group.name

hanainstances = list(self.hanaonazure_client.hana_instances.list_by_resource_group(resource_group_name))
self.assertEqual(len(hanainstances), 3)

@ResourceGroupPreparer()
def test_hanainstance_get(self, resource_group):

resource_group_name = resource_group.name
resource_name = "testhanainstanceresourcename"

hanainstance = self.hanaonazure_client.hana_instances.get(resource_group_name, resource_name)
self.assertEqual(hanainstance.name, resource_name)

#------------------------------------------------------------------------------
if __name__ == '__main__':
unittest.main()
unittest.main()

0 comments on commit cabdfe1

Please sign in to comment.