(t *testing.T)
| 62 | } |
| 63 | |
| 64 | func TestGetRegion(t *testing.T) { |
| 65 | cfg := &config.CLIConfig{ |
| 66 | AWS: config.AWSConfig{ |
| 67 | Region: "eu-west-1", |
| 68 | }, |
| 69 | } |
| 70 | |
| 71 | factory, err := NewClientFactory(cfg) |
| 72 | if err != nil { |
| 73 | t.Fatalf("Failed to create client factory: %v", err) |
| 74 | } |
| 75 | |
| 76 | region := factory.GetRegion() |
| 77 | if region != "eu-west-1" { |
| 78 | t.Errorf("Expected region eu-west-1, got %s", region) |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | func TestWaitForOperation(t *testing.T) { |
| 83 | ctx := context.Background() |
nothing calls this directly
no test coverage detected