def METHOD_NAME(self):
    account_name = self.create_random_name(prefix='cli', length=24)
    pools = [self.create_random_name(prefix='cli', length=24), self.create_random_name(prefix='cli', length=24)]
    self.cmd("az netappfiles account create -g {rg} -a '%s' -l 'westus2'" % account_name).get_output_in_json()
    for pool_name in pools:
        self.cmd("az netappfiles pool create -g {rg} -a '%s' -p '%s' -l 'westus2' %s --tags 'Tag1=Value1'" % (account_name, pool_name, POOL_DEFAULT)).get_output_in_json()
    pool_list = self.cmd("netappfiles pool list -g {rg} -a '%s'" % account_name).get_output_in_json()
    assert len(pool_list) == 2
    for pool_name in pools:
        self.cmd("az netappfiles pool delete -g {rg} -a %s -p %s" % (account_name, pool_name))
    pool_list = self.cmd("netappfiles pool list --resource-group {rg} -a '%s'" % account_name).get_output_in_json()
    assert len(pool_list) == 0