serve restic: make it easy to run integration tests against any remote

Just `cd cmd/serve/restic` then `go test -v -remote TestRemote:`
This commit is contained in:
Nick Craig-Wood 2018-03-18 14:23:56 +00:00
parent fa867a9a4c
commit 82e835d6fc

View file

@ -7,7 +7,7 @@ import (
"os/exec"
"testing"
_ "github.com/ncw/rclone/backend/local"
_ "github.com/ncw/rclone/backend/all"
"github.com/ncw/rclone/cmd/serve/httplib"
"github.com/ncw/rclone/fstest"
"github.com/stretchr/testify/assert"