@ResourceGroupPreparer(location=LINUX_ASP_LOCATION_FUNCTIONAPP)
@StorageAccountPreparer()
def test_functionapp_on_linux_version_error(self, resource_group, storage_account):
    plan = self.create_random_name(prefix='funcapplinplan', length=24)
    functionapp = self.create_random_name(prefix='functionapp-linux', length=24)
    self.cmd('functionapp plan create -g {} -n {} --sku S1 --is-linux'.format(resource_group, plan), checks=[JMESPathCheck('reserved', True), JMESPathCheck('sku.name', 'S1')])
    self.cmd('functionapp create -g {} -n {} --plan {} -s {} --runtime python --runtime-version 3.8'.format(resource_group, functionapp, plan, storage_account), expect_failure=True)
@ResourceGroupPreparer(location=LINUX_ASP_LOCATION_FUNCTIONAPP)
@StorageAccountPreparer()
def test_functionapp_on_linux_version_error(self, resource_group, storage_account):
    plan = self.create_random_name(prefix='funcapplinplan', length=24)
    functionapp = self.create_random_name(prefix='functionapp-linux', length=24)
    self.cmd('functionapp plan create -g {} -n {} --sku S1 --is-linux'.format(resource_group, plan), checks=[JMESPathCheck('reserved', True), JMESPathCheck('sku.name', 'S1')])
    self.cmd('functionapp create -g {} -n {} --plan {} -s {} --runtime python --runtime-version 3.8'.format(resource_group, functionapp, plan, storage_account), expect_failure=True)