1234567891011121314151617181920212223 |
- package plexapi
- import (
- "os"
- "testing"
- log "github.com/Sirupsen/logrus"
- )
- // TestMain func
- func TestMain(t *testing.T) {
- log.SetOutput(os.Stderr)
- log.SetLevel(log.DebugLevel)
- // t.Log("START")
- // api := API{User: "foo", Password: "secure", HTTP: HTTPConfig{Timeout: 30, WorkerSize: 10}}
- // servers, err := api.GetServers()
- // if err != nil {
- // t.Fatal(err)
- // }
- // t.Log("SERVERS ", util.JSONPrettyPrint(servers))
- }
|