Skip to content

Commit e661509

Browse files
committed
Corrected live_only
1 parent 9301458 commit e661509

7 files changed

+13
-5
lines changed

src/cosmosdb-preview/azext_cosmosdb_preview/tests/latest/test_cosmosdb-cassandrami_scenario.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class ManagedCassandraScenarioTest(ScenarioTest):
1818
# pylint: disable=line-too-long
1919
# pylint: disable=broad-except
2020
@ResourceGroupPreparer(name_prefix='cli_managed_cassandra')
21+
@AllowLargeResponse()
2122
def test_managed_cassandra_cluster_without_datacenters(self, resource_group):
2223

2324
self.kwargs.update({

src/cosmosdb-preview/azext_cosmosdb_preview/tests/latest/test_cosmosdb-copy-scenario.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515

1616
class Cosmosdb_previewCopyScenarioTest(ScenarioTest):
1717

18+
# This needs a custom subscription. Will be generalized in next release.
19+
@live_only()
1820
@ResourceGroupPreparer(name_prefix='cli_test_cosmosdb_copy', location='eastus')
1921
@AllowLargeResponse(size_kb=9999)
2022
def test_cosmosdb_copy_nosql(self, resource_group):

src/cosmosdb-preview/azext_cosmosdb_preview/tests/latest/test_cosmosdb_cassandra_rbac_assignment_scenario.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
class Cosmosdb_previewcassandraRbacAssignmentScenarioTest(ScenarioTest):
99

10-
@live_only('Existing role assignment got deleted, will enable in next release')
10+
# Existing role assignment got deleted, will enable in next release
11+
@live_only()
1112
@ResourceGroupPreparer(name_prefix='cli_test_cosmosdb_cassandra_role_assignment', location='westus2')
1213
def test_cosmosdb_cassandra_role_assignment(self, resource_group):
1314
acc_name = self.create_random_name(prefix='cli', length=15)

src/cosmosdb-preview/azext_cosmosdb_preview/tests/latest/test_cosmosdb_cassandra_rbac_scenario.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
class Cosmosdb_previewcassandraRbacScenarioTest(ScenarioTest):
99

10-
@live_only('Existing role assignment got deleted, will enable in next release')
10+
# Existing role assignment got deleted, will enable in next release
11+
@live_only()
1112
@ResourceGroupPreparer(name_prefix='cli_test_cosmosdb_cassandra_role', location='westus2')
1213
def test_cosmosdb_cassandra_role(self, resource_group):
1314
acc_name = self.create_random_name(prefix='cli', length=15)

src/cosmosdb-preview/azext_cosmosdb_preview/tests/latest/test_cosmosdb_gremlin_rbac_assignment_scenario.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
class Cosmosdb_previewgremlinRbacAssignmentScenarioTest(ScenarioTest):
99

10-
@live_only('Existing role assignment got deleted, will enable in next release')
10+
# Existing role assignment got deleted, will enable in next release
11+
@live_only()
1112
@ResourceGroupPreparer(name_prefix='cli_test_cosmosdb_gremlin_role_assignment', location='westus2')
1213
def test_cosmosdb_gremlin_role_assignment(self, resource_group):
1314
acc_name = self.create_random_name(prefix='cli', length=15)

src/cosmosdb-preview/azext_cosmosdb_preview/tests/latest/test_cosmosdb_gremlin_rbac_scenario.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
class Cosmosdb_previewgremlinRbacScenarioTest(ScenarioTest):
99

10-
@live_only('Existing role assignment got deleted, will enable in next release')
10+
# Existing role assignment got deleted, will enable in next release
11+
@live_only()
1112
@ResourceGroupPreparer(name_prefix='cli_test_cosmosdb_gremlin_role', location='westus2')
1213
def test_cosmosdb_gremlin_role(self, resource_group):
1314
acc_name = self.create_random_name(prefix='cli', length=15)

src/cosmosdb-preview/azext_cosmosdb_preview/tests/latest/test_cosmosdb_mongoMI_rbac_assignment_scenario.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
class Cosmosdb_previewmongoMIRbacAssignmentScenarioTest(ScenarioTest):
99

10-
@live_only('Existing role assignment got deleted, will enable in next release')
10+
# Existing role assignment got deleted, will enable in next release
11+
@live_only()
1112
@ResourceGroupPreparer(name_prefix='cli_test_cosmosdb_mongoMI_role_assignment', location='westus2')
1213
def test_cosmosdb_mongoMI_role_assignment(self, resource_group):
1314
acc_name = self.create_random_name(prefix='cli', length=15)

0 commit comments

Comments
 (0)