2022-09-05 09:06:08 +02:00
|
|
|
/*
|
|
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2022-03-28 12:24:41 +02:00
|
|
|
package azure
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2022-09-21 13:47:57 +02:00
|
|
|
"github.com/edgelesssys/constellation/v2/internal/versions"
|
2022-03-28 12:24:41 +02:00
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestTrivialCNMFunctions(t *testing.T) {
|
|
|
|
assert := assert.New(t)
|
|
|
|
cloud := CloudNodeManager{}
|
|
|
|
|
2022-09-02 13:57:57 +02:00
|
|
|
assert.NotEmpty(cloud.Image(versions.Default))
|
2022-03-28 12:24:41 +02:00
|
|
|
assert.NotEmpty(cloud.Path())
|
|
|
|
assert.NotEmpty(cloud.ExtraArgs())
|
|
|
|
assert.True(cloud.Supported())
|
|
|
|
}
|