mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-27 00:19:36 -05:00
26e9c67a00
Decouples cloud provider metadata packages from kubernetes related code Signed-off-by: Malte Poll <mp@edgeless.systems>
19 lines
383 B
Go
19 lines
383 B
Go
package azure
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/edgelesssys/constellation/internal/versions"
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestTrivialCNMFunctions(t *testing.T) {
|
|
assert := assert.New(t)
|
|
cloud := CloudNodeManager{}
|
|
|
|
assert.NotEmpty(cloud.Image(versions.Latest))
|
|
assert.NotEmpty(cloud.Path())
|
|
assert.NotEmpty(cloud.ExtraArgs())
|
|
assert.True(cloud.Supported())
|
|
}
|