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