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 @@ -24,6 +24,7 @@


class FunctionAppAccessRestrictionScenarioTest(ScenarioTest):
@unittest.skip("To be fixed")
@ResourceGroupPreparer(parameter_name_for_location='location', location=WINDOWS_ASP_LOCATION_WEBAPP)
@StorageAccountPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
def test_functionapp_access_restriction_show(self, resource_group, location):
Expand All @@ -49,6 +50,7 @@ def test_functionapp_access_restriction_show(self, resource_group, location):
JMESPathCheck('scmIpSecurityRestrictionsDefaultAction', None)
])

@unittest.skip("To be fixed")
@ResourceGroupPreparer(parameter_name_for_location='location', location=WINDOWS_ASP_LOCATION_WEBAPP)
@StorageAccountPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
def test_functionapp_access_restriction_set_simple(self, resource_group, location):
Expand Down Expand Up @@ -80,6 +82,7 @@ def test_functionapp_access_restriction_set_simple(self, resource_group, locatio
JMESPathCheck('scmIpSecurityRestrictionsDefaultAction', 'Deny')
])

@unittest.skip("To be fixed")
@ResourceGroupPreparer(parameter_name_for_location='location', location=WINDOWS_ASP_LOCATION_WEBAPP)
@StorageAccountPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
def test_functionapp_access_restriction_set_complex(self, resource_group, location):
Expand All @@ -100,6 +103,7 @@ def test_functionapp_access_restriction_set_complex(self, resource_group, locati
JMESPathCheck('scmIpSecurityRestrictionsUseMain', False)
])

@unittest.skip("To be fixed")
@ResourceGroupPreparer(random_name_length=17, parameter_name_for_location='location', location=WINDOWS_ASP_LOCATION_WEBAPP)
# random_name_length is temporary until the bug fix in the API is deployed successfully & then should be removed.
@StorageAccountPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
Expand All @@ -121,6 +125,7 @@ def test_functionapp_access_restriction_add(self, resource_group, location):
JMESPathCheck('[1].action', 'Deny')
])

@unittest.skip("To be fixed")
@ResourceGroupPreparer(parameter_name_for_location='location', location=WINDOWS_ASP_LOCATION_WEBAPP)
@StorageAccountPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
def test_functionapp_access_restriction_add_ip_address_validation(self, resource_group, location):
Expand Down Expand Up @@ -176,6 +181,7 @@ def test_functionapp_access_restriction_add_service_endpoint(self, resource_grou
JMESPathCheck('[1].action', 'Deny')
])

@unittest.skip("To be fixed")
@ResourceGroupPreparer(parameter_name_for_location='location', location=WINDOWS_ASP_LOCATION_WEBAPP)
@StorageAccountPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
def test_functionapp_access_restriction_remove(self, resource_group, location):
Expand All @@ -202,6 +208,7 @@ def test_functionapp_access_restriction_remove(self, resource_group, location):
JMESPathCheck('[0].action', 'Allow')
])

@unittest.skip("To be fixed")
@ResourceGroupPreparer(parameter_name_for_location='location', location=WINDOWS_ASP_LOCATION_WEBAPP)
@StorageAccountPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
def test_functionapp_access_restriction_add_scm(self, resource_group, location):
Expand All @@ -222,6 +229,7 @@ def test_functionapp_access_restriction_add_scm(self, resource_group, location):
JMESPathCheck('[1].action', 'Deny')
])

@unittest.skip("To be fixed")
@ResourceGroupPreparer(parameter_name_for_location='location', location=WINDOWS_ASP_LOCATION_WEBAPP)
@StorageAccountPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
def test_functionapp_access_restriction_remove_scm(self, resource_group, location):
Expand Down
Loading