@ResourceGroupPreparer(location='canadacentral')
def test_linux_webapp_quick_create(self, resource_group):
    webapp_name = self.create_random_name(prefix='webapp-quick-linux', length=24)
    plan = self.create_random_name(prefix='plan-quick-linux', length=24)
    self.cmd('appservice plan create -g {} -n {} --is-linux'.format(resource_group, plan))
    self.cmd('webapp create -g {} -n {} --plan {} -i patle/ruby-hello'.format(resource_group, webapp_name, plan))
    r = requests.get('http://{}.azurewebsites.net'.format(webapp_name), timeout=240)
    self.assertTrue(('Ruby on Rails in Web Apps on Linux' in str(r.content)))
    self.cmd('webapp config appsettings list -g {} -n {}'.format(resource_group, webapp_name), checks=[JMESPathCheck('[0].name', 'WEBSITES_ENABLE_APP_SERVICE_STORAGE'), JMESPathCheck('[0].value', 'false')])
@ResourceGroupPreparer(location='canadacentral')
def test_linux_webapp_quick_create(self, resource_group):
    webapp_name = self.create_random_name(prefix='webapp-quick-linux', length=24)
    plan = self.create_random_name(prefix='plan-quick-linux', length=24)
    self.cmd('appservice plan create -g {} -n {} --is-linux'.format(resource_group, plan))
    self.cmd('webapp create -g {} -n {} --plan {} -i patle/ruby-hello'.format(resource_group, webapp_name, plan))
    r = requests.get('http://{}.azurewebsites.net'.format(webapp_name), timeout=240)
    self.assertTrue(('Ruby on Rails in Web Apps on Linux' in str(r.content)))
    self.cmd('webapp config appsettings list -g {} -n {}'.format(resource_group, webapp_name), checks=[JMESPathCheck('[0].name', 'WEBSITES_ENABLE_APP_SERVICE_STORAGE'), JMESPathCheck('[0].value', 'false')])