mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-08 19:08:40 -05:00
![Malte Poll](/assets/img/avatar_default.png)
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())
|
|
}
|