|
- package relay
-
- import (
- "strconv"
- "testing"
-
- "github.com/QuantumNous/new-api/constant"
- "github.com/stretchr/testify/require"
- )
-
- func TestGetTaskAdaptorChinaMobileSeedance(t *testing.T) {
- adaptor := GetTaskAdaptor(constant.TaskPlatform(strconv.Itoa(constant.ChannelTypeChinaMobileSeedance)))
- require.NotNil(t, adaptor)
- require.Equal(t, "ChinaMobileSeedance", adaptor.GetChannelName())
- }
|