mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-27 08:29:33 -05:00
57e77ee53f
Signed-off-by: Malte Poll <mp@edgeless.systems>
25 lines
467 B
Go
25 lines
467 B
Go
/*
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
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.Default))
|
|
assert.NotEmpty(cloud.Path())
|
|
assert.NotEmpty(cloud.ExtraArgs())
|
|
assert.True(cloud.Supported())
|
|
}
|