Debian Codegraph @

tzdata/download_wintz_test.go

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
1 package tzdata
2
•3 import (
4 "os"
5 "testing"
6 )
7
8 func TestDownloadWindowsZones(t *testing.T) {
•9 if os.Getenv("AUTOPKGTEST_TMP") == "" {
10 t.Skip("skip test as Internet access is disallowed during Debian package build")
11 }
12 _, err := DownloadWindowsZones()
13 if err != nil {
14 t.Errorf("error: %v", err)
15 }
16 }