mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-09-22 17:25:49 +00:00
741384158a
KubernetesVersion sent by the init command now controls all downloaded binaries, if they depend on the k8s version. * Move all download links into /internal/versions. * Unify files in /internal/versions package * Move image download links into VersionConfigs and thus make them dependant on the k8s version, where the image version is specific to the k8s version. * Don't specify patch version in k8sVersion
18 lines
316 B
Go
18 lines
316 B
Go
package azure
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestTrivialCNMFunctions(t *testing.T) {
|
|
assert := assert.New(t)
|
|
cloud := CloudNodeManager{}
|
|
|
|
assert.NotEmpty(cloud.Image("1.23"))
|
|
assert.NotEmpty(cloud.Path())
|
|
assert.NotEmpty(cloud.ExtraArgs())
|
|
assert.True(cloud.Supported())
|
|
}
|