@ResourceGroupPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
def test_win_webapp_quick_create_runtime(self, resource_group):
    webapp_name = self.create_random_name(prefix='webapp-quick', length=24)
    plan = self.create_random_name(prefix='plan-quick', length=24)
    self.cmd('appservice plan create -g {} -n {}'.format(resource_group, plan))
    r = self.cmd('webapp create -g {} -n {} --plan {} --deployment-local-git -r "node|10.15"'.format(resource_group, webapp_name, plan)).get_output_in_json()
    self.assertTrue(r['ftpPublishingUrl'].startswith('ftp://'))
    self.cmd('webapp config appsettings list -g {} -n {}'.format(resource_group, webapp_name), checks=[JMESPathCheck('[0].name', 'WEBSITE_NODE_DEFAULT_VERSION'), JMESPathCheck('[0].value', '10.14')])
@ResourceGroupPreparer(location=WINDOWS_ASP_LOCATION_WEBAPP)
def test_win_webapp_quick_create_runtime(self, resource_group):
    webapp_name = self.create_random_name(prefix='webapp-quick', length=24)
    plan = self.create_random_name(prefix='plan-quick', length=24)
    self.cmd('appservice plan create -g {} -n {}'.format(resource_group, plan))
    r = self.cmd('webapp create -g {} -n {} --plan {} --deployment-local-git -r "node|10.15"'.format(resource_group, webapp_name, plan)).get_output_in_json()
    self.assertTrue(r['ftpPublishingUrl'].startswith('ftp://'))
    self.cmd('webapp config appsettings list -g {} -n {}'.format(resource_group, webapp_name), checks=[JMESPathCheck('[0].name', 'WEBSITE_NODE_DEFAULT_VERSION'), JMESPathCheck('[0].value', '10.14')])