Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

18 wiersze
512 B

  1. package common
  2. import (
  3. "testing"
  4. "github.com/QuantumNous/new-api/constant"
  5. "github.com/stretchr/testify/require"
  6. )
  7. func TestChinaMobileSeedanceChannelMappings(t *testing.T) {
  8. apiType, ok := ChannelType2APIType(constant.ChannelTypeChinaMobileSeedance)
  9. require.True(t, ok)
  10. require.Equal(t, constant.APITypeVolcEngine, apiType)
  11. endpoints := GetEndpointTypesByChannelType(constant.ChannelTypeChinaMobileSeedance, "doubao-seedance-2.0")
  12. require.Contains(t, endpoints, constant.EndpointTypeDoubaoVideo)
  13. }