@ResourceGroupPreparer(location=LINUX_ASP_LOCATION_WEBAPP)
def test_linux_webapp_quick_create_cd(self, resource_group):
    webapp_name = self.create_random_name(prefix='webapp-linux-cd', length=24)
    plan = 'plan-quick-linux-cd'
    self.cmd('appservice plan create -g {} -n {} --is-linux'.format(resource_group, plan))
    self.cmd('webapp create -g {} -n {} --plan {} -u {} -r "node|10.14"'.format(resource_group, webapp_name, plan, TEST_REPO_URL))
    time.sleep(45)
    r = requests.get('http://{}.azurewebsites.net'.format(webapp_name), timeout=240)
    if ('Hello world' not in str(r.content)):
        self.fail(("'Hello world' is not found in the web page. We get instead:" + str(r.content)))
@ResourceGroupPreparer(location=LINUX_ASP_LOCATION_WEBAPP)
def test_linux_webapp_quick_create_cd(self, resource_group):
    webapp_name = self.create_random_name(prefix='webapp-linux-cd', length=24)
    plan = 'plan-quick-linux-cd'
    self.cmd('appservice plan create -g {} -n {} --is-linux'.format(resource_group, plan))
    self.cmd('webapp create -g {} -n {} --plan {} -u {} -r "node|10.14"'.format(resource_group, webapp_name, plan, TEST_REPO_URL))
    time.sleep(45)
    r = requests.get('http://{}.azurewebsites.net'.format(webapp_name), timeout=240)
    if ('Hello world' not in str(r.content)):
        self.fail(("'Hello world' is not found in the web page. We get instead:" + str(r.content)))