fix: configure conformance tests

This commit is contained in:
2026-01-31 17:13:02 +01:00
parent 7cbcc3f04c
commit 4784f4c4d5
8 changed files with 47 additions and 94 deletions

View File

@@ -4,8 +4,10 @@ import (
"context"
"encoding/json"
"io"
"log"
"net/http"
"strconv"
"strings"
"testing"
"time"
@@ -39,7 +41,6 @@ func TestCreate(t *testing.T) {
req := &resource.CreateRequest{
ResourceType: "PROXMOX::Service::LXC",
Label: "test-create",
Properties: propertiesJSON,
TargetConfig: testTargetConfig(),
}
@@ -163,6 +164,8 @@ func TestList(t *testing.T) {
})
require.NoError(t, err, "ListRequest should not return an error")
log.Printf("Received Ids: %s", strings.Join(result.NativeIDs, ", "))
require.Contains(t, result.NativeIDs, "200", "List should include created LXC")
}