2025-01-10 19:17:20 +00:00
|
|
|
package test_test
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
|
|
|
|
"testing"
|
|
|
|
|
|
2025-03-05 12:05:46 +00:00
|
|
|
"queryorchestration/internal/test"
|
|
|
|
|
|
2025-01-10 19:17:20 +00:00
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
|
)
|
|
|
|
|
|
2025-04-22 14:40:16 +00:00
|
|
|
func TestDepNetworkGet(t *testing.T) {
|
2025-01-10 19:17:20 +00:00
|
|
|
ctx := context.Background()
|
|
|
|
|
|
2025-05-03 11:29:10 +00:00
|
|
|
name := test.GetNetwork(t, ctx)
|
2025-04-22 14:40:16 +00:00
|
|
|
assert.NotNil(t, name)
|
2025-01-10 19:17:20 +00:00
|
|
|
|
2025-05-03 11:29:10 +00:00
|
|
|
newName := test.GetNetwork(t, ctx)
|
2025-04-22 14:40:16 +00:00
|
|
|
assert.Equal(t, name, newName)
|
2025-01-10 19:17:20 +00:00
|
|
|
}
|