mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-25 14:35:48 +03:00
25 lines
508 B
Go
25 lines
508 B
Go
package client_test
|
|
|
|
import (
|
|
"net/netip"
|
|
"testing"
|
|
"time"
|
|
|
|
"github.com/AdguardTeam/golibs/testutil"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
testutil.DiscardLogOutput(m)
|
|
}
|
|
|
|
// testHost is the common hostname for tests.
|
|
const testHost = "client.example"
|
|
|
|
// testTimeout is the common timeout for tests.
|
|
const testTimeout = 1 * time.Second
|
|
|
|
// testWHOISCity is the common city for tests.
|
|
const testWHOISCity = "Brussels"
|
|
|
|
// testIP is the common IP address for tests.
|
|
var testIP = netip.MustParseAddr("1.2.3.4")
|