authelia/internal/suites/suites.go

36 lines
463 B
Go
Raw Normal View History

package suites
import (
"github.com/go-rod/rod"
"github.com/stretchr/testify/suite"
)
func NewRodSuite(name string) *RodSuite {
return &RodSuite{
BaseSuite: &BaseSuite{
Name: name,
},
}
}
// RodSuite is a go-rod suite.
type RodSuite struct {
*BaseSuite
*RodSession
*rod.Page
}
type BaseSuite struct {
suite.Suite
Name string
}
// CommandSuite is a command line interface suite.
type CommandSuite struct {
*BaseSuite
*DockerEnvironment
}