Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from azure_devtools.scenario_tests import AllowLargeResponse


@AllowLargeResponse()
@api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2016-12-01')
class StorageAccountTests(StorageScenarioMixin, ScenarioTest):
@api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2017-06-01')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@

from azure.cli.command_modules.storage._client_factory import MISSING_CREDENTIALS_ERROR_MESSAGE
from ..storage_test_util import StorageScenarioMixin
from azure_devtools.scenario_tests import AllowLargeResponse


@AllowLargeResponse()
@api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2016-12-01')
class StorageBlobUploadTests(StorageScenarioMixin, ScenarioTest):
@ResourceGroupPreparer()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@

from azure.cli.testsdk import (ScenarioTest, JMESPathCheck, ResourceGroupPreparer, StorageAccountPreparer)
from msrestazure.azure_exceptions import CloudError
from azure_devtools.scenario_tests import AllowLargeResponse


@AllowLargeResponse()
class StorageImmutabilityPolicy(ScenarioTest):
@ResourceGroupPreparer()
@StorageAccountPreparer(kind="StorageV2")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
# --------------------------------------------------------------------------------------------

from azure.cli.testsdk import (ScenarioTest, JMESPathCheck, ResourceGroupPreparer, StorageAccountPreparer)
from azure_devtools.scenario_tests import AllowLargeResponse


@AllowLargeResponse()
class StorageLegalHold(ScenarioTest):
@ResourceGroupPreparer()
def test_legal_hold(self, resource_group):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
JMESPathCheck)
from azure.cli.core.profiles import ResourceType
from ..storage_test_util import StorageScenarioMixin
from azure_devtools.scenario_tests import AllowLargeResponse


@AllowLargeResponse()
class StorageFileShareRmScenarios(StorageScenarioMixin, ScenarioTest):
@api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2019-06-01')
@ResourceGroupPreparer(name_prefix="cli", location="eastus")
Expand Down