disable diff download tests

master
Oliver Tonnhofer 2013-10-28 08:42:33 +01:00
parent 089e4a3919
commit 819df78d03
1 changed files with 7 additions and 9 deletions

View File

@ -2,7 +2,6 @@ package diff
import (
"testing"
"time"
)
func TestDiffPath(t *testing.T) {
@ -26,11 +25,10 @@ func TestDiffPath(t *testing.T) {
// t.Fatal("")
// }
func TestDownloadDiffs(t *testing.T) {
diffs := &diffDownload{"http://planet.openstreetmap.org/replication/minute/", "/tmp/diffs", 0}
err := diffs.DownloadSince(time.Now().Add(-5 * time.Minute))
if err != nil {
t.Fatal(err)
}
t.Fatal("")
}
// func TestDownloadDiffs(t *testing.T) {
// diffs := &diffDownload{"http://planet.openstreetmap.org/replication/minute/", "/tmp/diffs", 0}
// err := diffs.DownloadSince(time.Now().Add(-5 * time.Minute))
// if err != nil {
// t.Fatal(err)
// }
// }