def METHOD_NAME(self, resource_group):
    app_name = 'helloWorldApp'
    self.kwargs.update({
        'resource_id': '',
        'resource_group': resource_group,
        'deployment_name': self.create_random_name(prefix='cli', length=24),
        'app_name': app_name,
        'template_location': _get_test_data_file('template1.json')
    })
    # Test create
    self.cmd('az mesh deployment create -g {rg} --template-file {template_location} --name {deployment_name} --no-wait')
    time.sleep(10)
    # Test list
    app_list = self.cmd('az mesh app list --resource-group {rg}', checks=[
        self.check('[0].name', app_name)
    ]).get_output_in_json()
    assert len(app_list) == 1
    # Test show resource group/name
    data = self.cmd('az mesh app show --resource-group {rg} --name {app_name}', checks=[
        self.exists('description'),
        self.check('healthState', 'Ok'),
        self.exists('id'),
        self.exists('location'),
        self.check('name', app_name),
        # self.check('provisioningState', 'Succeeded'),  # ClusterAllocationInsufficientCapacity
        self.exists('serviceNames'),
        self.check('resourceGroup', resource_group.upper()),
        # self.check('status', 'Ready'),  # ClusterAllocationInsufficientCapacity
        self.exists('type')
    ]).get_output_in_json()
    resource_id = data['id']
    # Test show resource id
    show_data = self.cmd('az mesh app show --id {0}'.format(resource_id)).get_output_in_json()
    assert data == show_data
    # Test delete
    self.cmd('az mesh app delete -g {rg} --name {app_name} --yes')
    app_list = self.cmd('az mesh app list --resource-group {rg}').get_output_in_json()
    assert len(app_list) == 0